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?


2 answers

1 accepted

1 vote
Accepted answer

I'm not sure how useful it is, but I found this:


apparently its a well known issue; it's even in the pascal faq -

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:

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.

    - step:
          - 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, and might be helpful smile

Wow,I use your eg. and get some message


cannot open display


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 votes

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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

777 views 5 10
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