Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-71799

bitbucketStatusNotify is not working with tags in Multibranch Pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • Jenkins version: Jenkins 2.387.3
      Bitbucket Build Status Notifier Plugin: 1.4.2


      Bitbucket Build Status Notifier Plugin is not notifying Bitbucket when invoked in a Multibranch Pipeline during pipeline execution for tags.

      It is a declarative pipeline and has already been tested with/without arguments in "bitbucketStatusNotify". For example:
      (...)
      post {
        always

      {     bitbucketStatusNotify(       buildState: 'SUCCESSFUL',       credentialsId: 'jenkins-oauth',       repoSlug: 'kicstest',       commitId: env.GIT_COMMIT,       buildKey: 'build',       buildName: 'Build',       buildDescription: 'Something went wrong with build!'       )   }

      (...)

      The pipeline works fine for branches.
      Looks like the "bitbucketStatusNotify function" is not called for tags.

      Check the attachments (UI)!

        1. 1.png
          1.png
          97 kB
        2. 2.png
          2.png
          92 kB
        3. 3.png
          3.png
          92 kB
        4. 4.png
          4.png
          100 kB
        5. 5.png
          5.png
          108 kB

            flagbit Antonio Mansilla
            oak10 Cláudio
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: