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

Notify Stash plugin problems after update

XMLWordPrintable

      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?

            Unassigned Unassigned
            milunko Milos Milunovic
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: