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

Bitbucket Server not getting notified with in-progress status when non-default project factory and a groovy library

XMLWordPrintable

      In my pipeline I have an implicitly loaded library and a non-standard project factory (`inline-pipeline` but reproducible with `pipeline-multibranch-defaults` too).

      When I do `checkout scm` - the in-progress event not being sent.

      I did the following as the very first step in my pipeline:

      @NonCPS
      def test() {
          echo currentBuild.rawBuild.getAction(com.cloudbees.jenkins.plugins.bitbucket.FirstCheckoutCompletedInvisibleAction.class).toString()
      } 

      And I can see a non-null echo message in the build log.

      I think because in non-standard project factory it doesn't try to fetch a `Jenkinsfile` - the first ever checkout happening to the library and setting `FirstCheckoutCompletedInvisibleAction`. This is not reproducible with github branch source plugin which doesn't have an analogue to that action.

       

            llibicpep Dee Kryvenko
            llibicpep Dee Kryvenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: