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

freeStyleJob should support an update argument to specify if you want or not override

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • job-dsl-plugin
    • None

      Create the following JobDSL job.

      freeStyleJob("tryDSL") { 
      description("This a new job") 
      steps { 
      shell('echo "Hello World "') 
      } 
      }
      

      If there is a job which already has this name `tryDSL` on the instance, it will overwrite itself with the awaited content brought by the DSL script.

      freeStyleJob should support an update boolean argument to specify if you want or not override

            jamietanna Jamie Tanna
            fbelzunc FĂ©lix Belzunce Arcos
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: