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

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

    • 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

          [JENKINS-39765] freeStyleJob should support an update argument to specify if you want or not override

          Félix Belzunce Arcos created issue -
          jlpinardon made changes -
          Attachment New: screenshot-1.png [ 35829 ]
          Jamie Tanna made changes -
          Assignee Original: Daniel Spilker [ daspilker ] New: Jamie Tanna [ jamietanna ]

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

              Created:
              Updated: