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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,750 views 1 5
Read article

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