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.
- duplicates
-
JENKINS-66041 jenkins.scm.api.SCMRevisionAction not being added to the build
- In Review
- is related to
-
JENKINS-66044 `SCMFileSystem`, `SCMBinder` and `readTrusted` should notify SCMListener
- Open