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

Add Lightweight checkout when using PipelineJob with cpsScm

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • job-dsl-plugin
    • None

      I have not found the option Lightweight checkout in the DSL definition when using Pipeline job.

       

      This is the UI look and feel:

       

      And its xml : 

       

      ...
      <definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.39">
        <scm class="hudson.plugins.git.GitSCM" plugin="git@3.5.1">...</scm>
        <scriptPath>ci-poc/resources/gpucore/gatekeeper.groovy</scriptPath>
        <lightweight>false</lightweight>
      </definition>
      ...

            daspilker Daniel Spilker
            v2v Victor Martinez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: