-
Bug
-
Resolution: Fixed
-
Major
-
None
aheritier pointed out that when installing recommended plugins in Jenkins 2, sometimes the git step does not work in Pipeline builds until after a restart. This is because when workflow-scm-step is loaded, git might not yet be installed, so GitStep.DescriptorImpl would be skipped. If later in the same session git is installed, this extension is not revisited.
Simpler to keep the SCM-specific steps in the corresponding plugins.
- is blocked by
-
JENKINS-36666 Jenkins startup fails due to cyclic dependency miscalculation
-
- Resolved
-
- is duplicated by
-
JENKINS-35609 GitStep is missing its descriptor with example build
-
- Resolved
-
- is related to
-
JENKINS-19508 Replace @Extension(optional=true) and optional dependencies with bridge plugins
-
- Open
-
-
JENKINS-36239 StackOverflowError in plugin manager on 1.596.1
-
- Open
-
- links to
Code changed in jenkins
User: Jesse Glick
Path:
scm-step/pom.xml
scm-step/src/main/java/org/jenkinsci/plugins/workflow/steps/scm/GitStep.java
scm-step/src/main/java/org/jenkinsci/plugins/workflow/steps/scm/SubversionStep.java
http://jenkins-ci.org/commit/pipeline-plugin/fd7d4eb54c59aeb3bab396a45cfdbd93dceb6ae0
Log:
JENKINS-35247Delegate to Git and Subversion plugins via reflection.(cherry picked from commit 87113cfdc9e4939b123de673a5672ac6b3fb76fc)