0.6.2 • Published 4 years ago

publishstatus-bitbucket v0.6.2

Weekly downloads
13
License
MIT
Repository
github
Last release
4 years ago

Publish build status to Bitbucket Known Vulnerabilities

Simple NodeJs command line application to publish commit status to Bitbucket (Atlassian Stash).

https://www.npmjs.com/package/publishstatus-bitbucket

Install locally and run the command using npx command

  • npm install publishstatus-bitbucket
  • npx publishstatus-bitbucket

Install globally and run the command

  • npm install -g publishstatus-bitbucket
  • publishstatus-bitbucket

Run the command using the source code

Parameters description

To get a full list of parameters run publishstatus-bitbucket -h Below you can find an example for linux command line environment. This example can be used to publish build status in Azure Pipelines job.

BITBUCKETSERVER=_your bitbucket server url origin BUILDURI=_url which will be shown in bitbucket common status export BITBUCKETUSERNAME=_user name or service principal name export BITBUCKETPASSWORD=_password

publishstatus-bitbucket -b "$BITBUCKET_SERVER" -c "$(Build.SourceVersion)" -p "$(Build.DefinitionName)" -l "$BUILD_URI" -s "SUCCESSFUL" -n "Azure DevOps / $(Build.DefinitionName) #$(Build.BuildNumber)"