Tejas Shah
Tejas Shah

Reputation: 43

Want to send the status of the build to bitbucket server from Azure Devops build pipeline

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

Answers (1)

Sajeetharan
Sajeetharan

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

Related Questions