Reputation: 43
I am using Azure DevOps build pipeline and want to send the build status to bitbucket code repository. I need to check these build status before merging the feature/bugfix branch to develop branch.
Is there a clean way to integrate this in the DevOps Project?
Upvotes: 1
Views: 206
Reputation: 222582
You can do with a simple script
in your pipeline and update with the build id
script: |
import os
id = os.getenv('BUILD_BUILDID')
print(id)
Upvotes: 1