Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- 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:
pom.xml
src/main/java/org/jenkinsci/plugins/workflow/steps/scm/GitStep.java
src/main/java/org/jenkinsci/plugins/workflow/steps/scm/SubversionStep.java
http://jenkins-ci.org/commit/workflow-scm-step-plugin/58237d3ca4f72fa102234910018286d9898cfcc4
Log:
Merge pull request #3 from jglick/SCMStep-
JENKINS-35247-reflectionJENKINS-35247Delegate to Git and Subversion plugins via reflectionCompare: https://github.com/jenkinsci/workflow-scm-step-plugin/compare/edc5c6262d9f...58237d3ca4f7