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

Jenkins DSL Script lightweight() method is ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • job-dsl-plugin
    • None

      Using the Job DSL Plugin version 1.68 the 'lightweight' method is ignored when creating a pipeline job:

      pipelineJob('Pipeline') {
          description 'Pipeline Test'
      
          definition {
              cpsScm {
                  lightweight(true)
      
                  scm {
                      git('http://u.r.l/repo.git')
                  }
              }
          }
      }
      

      There is no error message, it's just that 'lightweight' is silently ignored.

      Tested on the Job DSL Playground as well as Windows Server 2008 R2, Jenkins 2.100 running on Tomcat 8.

            daspilker Daniel Spilker
            selste Steffen Elste
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: