Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: scm-api-plugin
-
Labels:None
-
Similar Issues:
Description
This looks like the same type of code-path issue described in https://issues.jenkins-ci.org/browse/JENKINS-41996
@Library('someGitLibrary') node { final scmVars = checkout(scm) // scmVars may have Git data from either the someGitLibrary or the scmVars }
Looks like its caused by https://github.com/jenkinsci/git-plugin/blob/master/src/main/java/hudson/plugins/git/GitSCM.java#L1282-L1317
Attachments
Issue Links
- is blocked by
-
JENKINS-52378 Revision state returned by Git SCM step is incorrect
-
- Closed
-
Richard Bowater, on (Windows) build-server, we use the following in our scripts as Mark Waite suggests: