The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Bitbucket Server Notifier

notifyBitbucket: Notify Bitbucket Instance

  • buildName : String (optional)
    If not empty, this will overwrite the default build name sent to Bitbucket.
  • buildStatus : Object (optional)
    If not empty, this status will be sent to Bitbucket instead of the currentBuild.result.
  • buildUrl : String (optional)
  • commitSha1 : String (optional)
    Enter a 40-digit SHA1 commit id or a Jenkins variable prefixed with '$' (e. g. $GIT_COMMIT) when you want the notification to be attached to a specific commit in Bitbucket. If left empty, Jenkins will use the commit that was built by the Git plugin.
  • considerUnstableAsSuccess : boolean (optional)
    Consider unstable builds as success, besides the test errors.
  • credentialsId : String (optional)
  • disableInprogressNotification : boolean (optional)
    Disable sending pre-build notification to Bitbucket
  • ignoreUnverifiedSSLPeer : boolean (optional)
    Check this if you need to connect by HTTPS to a Bitbucket server that uses an invalid or self-signed SSL certificate
  • includeBuildNumberInKey : boolean (optional)

    Check this if you want results of repeated builds of the same commit to show up in Bitbucket as a list of builds. If unchecked, Bitbucket will only display the latest build result.

  • prependParentProjectKey : boolean (optional)
    Whether to prepend parent project while forming notify key
  • projectKey : String (optional)
    If not empty, this key will be used instead of automatically configured project key
  • stashServerBaseUrl : String (optional)
    The base URL of the Bitbucket server to notify. Examples are:
    • http://localhost:7990, or
    • http://my.company.intranet/bitbucket.

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.