Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-37227

Metastep support for checkout step

    XMLWordPrintable

    Details

    • Similar Issues:

      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

            Activity

            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Epic Link JENKINS-35394 [ 171187 ]
            jglick Jesse Glick made changes -
            Link This issue depends on JENKINS-29922 [ JENKINS-29922 ]
            abayer Andrew Bayer made changes -
            Component/s pipeline-general [ 21692 ]
            abayer Andrew Bayer made changes -
            Component/s workflow-plugin [ 18820 ]
            jglick Jesse Glick made changes -
            Link This issue is related to JENKINS-27275 [ JENKINS-27275 ]
            jglick Jesse Glick made changes -
            Component/s workflow-scm-step-plugin [ 21717 ]
            Component/s pipeline [ 21692 ]
            Hide
            jglick Jesse Glick added a comment -

            Such symbols would also be useful for the library step.

            Show
            jglick Jesse Glick added a comment - Such symbols would also be useful for the library step.
            jglick Jesse Glick made changes -
            Link This issue blocks JENKINS-39450 [ JENKINS-39450 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-44892 [ JENKINS-44892 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-45101 [ JENKINS-45101 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-27018 [ JENKINS-27018 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-58503 [ JENKINS-58503 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jglick Jesse Glick
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated: