-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
-
git plugin 4.7.0 released 17 Mar 2021
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
- duplicates
-
JENKINS-53346 GitSCM checkout returns same values on second different call
-
- Closed
-
- is blocked by
-
JENKINS-52378 Revision state returned by Git SCM step is incorrect
-
- Closed
-
[JENKINS-45489] checkout(scm) step can return wrong variables when used following another Git checkout
Description |
Original:
This looks like the same type of code-path issue described in https://issues.jenkins-ci.org/browse/JENKINS-41996  {code:java} @Library('someGitLibrary') node { final scmVars = checkout(scm) // scmVars may have Git data from either the }{code} Looks like its caused by [https://github.com/jenkinsci/git-plugin/blob/master/src/main/java/hudson/plugins/git/GitSCM.java#L1282-L1317] |
New:
This looks like the same type of code-path issue described in https://issues.jenkins-ci.org/browse/JENKINS-41996  {code:java} @Library('someGitLibrary') node { final scmVars = checkout(scm) // scmVars may have Git data from either the someGitLibrary or the scmVars }{code} Looks like its caused by [https://github.com/jenkinsci/git-plugin/blob/master/src/main/java/hudson/plugins/git/GitSCM.java#L1282-L1317] |
Component/s | New: scm-api-plugin [ 18054 ] | |
Component/s | Original: git-plugin [ 15543 ] |
Assignee | Original: Mark Waite [ markewaite ] |
Summary | Original: checkout(scm) step can return wrong variables when used with a global library that is pulled from Git | New: checkout(scm) step can return wrong variables when used following another Git checkout |
Link |
New:
This issue is blocked by |
Link |
New:
This issue duplicates |
Released As | New: git plugin 4.7.0 released 17 Mar 2021 | |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |