-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: stashnotifier-plugin
-
None
After updating Jenkins stash notifier plugin stopped notifying Bitbucket server. In each build I keep getting:
12:10:00 Unable to expand commit SHA value with org.jenkinsci.plugins.workflow.job.WorkflowRun 12:10:00 Unable to expand build key macro with run of type org.jenkinsci.plugins.workflow.job.WorkflowRun
pipeline code which is executed when this happens:
def notify(sha1,status) {
step([$class: 'StashNotifier',
buildState: status,
commitSha1: sha1,
credentialsId: 'SOME_CREDENTIALS',
disableInprogressNotification: false,
ignoreUnverifiedSSLPeer: false,
includeBuildNumberInKey: false,
prependParentProjectKey: false,
projectKey: 'PROJECT',
repositoryKey: 'repo',
stashServerBaseUrl: 'https://bitbucket.someCompany.com'])
}
I tried adding -Dhudson.model.ParametersAction.keepUndefinedParameters=true, rebooted the Jenkins master machine and still everything is the same!
Am I missing something? What's going on?