bitbucket-pipeline lazarus and lazbuild output

I want to use lazarus and lazbuild something output.

After I lazbuild project1.lpr ,it output some files(e.g: project1、project1.o...... )

But I don't know how to set my output.

How can I set?

1482742669169.jpg1482742614536.jpg

2 answers

1 accepted

1 vote

I'm not sure how useful it is, but I found this: http://stackoverflow.com/questions/20185268/how-to-remove-warning-link-res-contains-output-sections-did-you-forget-t

 

apparently its a well known issue; it's even in the pascal faq - http://www.freepascal.org/faq.var#unix-ld219

From your comment ,"did you forget -T?" isn't the point that output failed. 

Do the Bitbucket pipeline can output files(e.g: execution file......) and storage somewhere?

it's an open feature request currently: https://bitbucket.org/site/master/issues/13114/provide-a-way-to-store-view-artifacts

there's some integrations such as our S3 example that might be useful to you smile

Can S3 storage  execution file after finishing pipeline?

I have tried other and it just storage the docs(or text) from pushing ,not execution file after finishing pipeline.

yes S3 is just a storage.

I'm not sure exactly what your project does or produces. If the output of lazbuild is executable you can just run multiple commands eg.

pipelines:
  default:
    - step:
        script:
          - lazbuild project1.lpr
          - echo "Printing contents of working directory"
          - ls -hal
          - echo "Executing command"
          - ./project1

if your project needs to be deployed to a PaaS or similar, https://bitbucket.org/account/user/awslabs/projects/BP and https://github.com/GoogleCloudPlatform/continuous-deployment-bitbucket might be helpful smile

Wow,I use your eg. and get some message

1486087563969.jpg

cannot open display

c

if your project requires a display/X-server you wont be able to run it within Bitbucket Pipelines. You'll have to upload it to S3, or an appropriate PaaS like AWS or Google cloud

Thanks for your reply! I go to registered AWS first!

0 vote

Hey Claire, I've not had much experience with lazarus/lazbuild, does lazbuild just write founds to the current directory?

Do you have any more details what that error message means?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

62 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you