Details
-
Type:
Improvement
-
Status: In Progress (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Component/s: bitbucket-build-status-notifier-plugin
-
Labels:None
-
Environment:Jenkins 1.580.2
Bitbucket build status notifier plugin 1.2.0
-
Similar Issues:
Description
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
Hi James Douglass, thanks for reporting this issue, I'll try to reproduce and fix the problem asap. I'll let you know, when it's fixed.