Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket Pipelines Octopus Deploy and Release Notes Step

Jose Francisco Antunes June 15, 2020

I'm trying to add a step which allows me to publish to octopus deploy some release notes attached. I followed this article 

https://octopus.com/blog/bitbucket-pipes-and-octopus-deploy#push-build-information-to-octopus.

On this step
/bin/sh create-build-info.sh $BITBUCKET_REPO_OWNER $BITBUCKET_REPO_SLUG $BITBUCKET_BUILD_NUMBER $BITBUCKET_COMMIT $BITBUCKET_BRANCH $BITBUCKET_GIT_HTTP_ORIGIN

I'm getting a error in Pipelines complaining that:
"/bin/sh: can't open create-build-info.sh"

So i'm confused, I can't seem to understand where this create-build-info is on the system.

1 answer

0 votes
ktomk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 16, 2020

Nowhere, the blog post just describes what that file is supposed to do without sharing the source of it:

The create-build-info.sh script creates a JSON payload output file called octopus.buildinfo, and then we use that in the build-information command to push commit information

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events