bitbucket-pipeline lazarus and lazbuild output

eastek_claire December 25, 2016

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
Answer accepted
SebC
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 2, 2017

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

eastek_claire February 2, 2017

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?

SebC
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 2, 2017

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

eastek_claire February 2, 2017

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.

SebC
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 2, 2017

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

eastek_claire February 2, 2017

Wow,I use your eg. and get some message

1486087563969.jpg

cannot open display

c

SebC
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 2, 2017

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

eastek_claire February 2, 2017

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

0 votes
SebC
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 2, 2017

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
TAGS
AUG Leaders

Atlassian Community Events