This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      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

            Assignee:
            Unassigned
            Reporter:
            Jesse Glick
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: