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

Support for parameter in commit revision

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • Jenkins 1.580.2
      Bitbucket build status notifier plugin 1.2.0

      This plugin works flawlessly, but it appears to only work if the `revision` string is interpreted as a string, and not evaluated (such as if a variable is provided)

      So if I use a specific revision (e.g. develop or tip), the build status is reported correctly.

      If I use a variable, however (such as with a build parameter), the build status is not posted correctly. In the job's console log, this message is posted: Sending build status INPROGRESS for commit $VERSION to BitBucket is done!. $VERSION is the variable that I'm using.

      In the system log, this message is posted:

      May 06, 2016 4:41:31 PM INFO org.jenkinsci.plugins.bitbucket.BitbucketBuildStatusNotifier perform
      Bitbucket notify on finish
      May 06, 2016 4:41:31 PM INFO org.jenkinsci.plugins.bitbucket.BitbucketBuildStatusNotifier notifyBuildStatus
      This response was received:{"error": {"message": "Changeset not found."}}
      May 06, 2016 4:41:31 PM INFO org.jenkinsci.plugins.bitbucket.BitbucketBuildStatusNotifier perform
      Bitbucket notify on finish succeeded
      

            Unassigned Unassigned
            jdouglass James Douglass
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: