Details
-
New Feature
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
Description
As noted JENKINS-29922, we should extend simplified syntax to the checkout step used with SCMs. Proposed task list:
- make checkout be a metastep
- add a @Symbol to a sample SCM, such as hg on MercurialSCM, and verify that hg can then be run like a top-level step
- define an API by which GenericSCMStep/config.jelly could detect that Snippetizer were passing it a particular delegateDescriptor (like MercurialSCM.DescriptorImpl) and switch to an alternate mode in which f:dropdownDescriptorSelector is replaced by the inlined MercurialSCM/config.jelly
- investigate whether @Symbol plus tweaks to the parameters on GitSCM and SubversionSCM would allow us to suppress the custom git and subversion step extensions (thus using checkout implicitly) when running on a sufficiently new version of workflow-cps + workflow-scm-step
- update WorkflowPluginTest.linearFlow (or .parallelTests) to demonstrate that git now automatically accepts, say, extensions
Attachments
Issue Links
- blocks
-
JENKINS-39450 Add a LibraryStep for loading shared libraries within a Pipeline
-
- Resolved
-
- depends on
-
JENKINS-29922 Promote delegates of metasteps to top-level functions, deprecate $class
-
- Resolved
-
- is related to
-
JENKINS-27275 Credentials support for svn step
-
- Open
-
- relates to
-
JENKINS-44892 Ability to override reflective metadata in DescribableModel
-
- Resolved
-
-
JENKINS-45101 Display meaningful summaries for metasteps
-
- Resolved
-
-
JENKINS-27018 Provide either 'branch' or 'tag' in git step
-
- Resolved
-
-
JENKINS-58503 Symbols for Extensions
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Epic Link | JENKINS-35394 [ 171187 ] |
Link |
This issue depends on |
Component/s | pipeline-general [ 21692 ] |
Component/s | workflow-plugin [ 18820 ] |
Link | This issue is related to JENKINS-27275 [ JENKINS-27275 ] |
Component/s | workflow-scm-step-plugin [ 21717 ] | |
Component/s | pipeline [ 21692 ] |
Link |
This issue blocks |
Link |
This issue relates to |
Link |
This issue relates to |
Link |
This issue relates to |
Link |
This issue relates to |
Such symbols would also be useful for the library step.