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

abortAllJobs() for Multijob configured from Job DSL is not working

    Details

    • Similar Issues:

      Description

      Hey guys,

      I'm using the job dsl to configure my jobs. I would like to set the "Abort all other job" option of an phasejob (Multijob) via DSL using the abortAllJobs() function which doesn't work. The corresponding node in the configuration XML persits 'false'.

      Configuration via the Job DSL's configure block works anyway.

      phase("PhaseName") {                         
                                  phaseJob("ConfigurationViaConfigure") { configure configureAbortingPhaseJob() }
                                  phaseJob("UsingDSLFeature") {                                 
                                        abortAllJobs(true)                                  
                                  }                           
      

      Anyone else observed this behaviour?

      Cheers,
      Florian

        Attachments

          Activity

          foeser Florian Oeser created issue -
          foeser Florian Oeser made changes -
          Field Original Value New Value
          Labels job-dsl job-dsl-plugin multi-job multijob gradle-jenkins-plugin job-dsl job-dsl-plugin multi-job multijob
          foeser Florian Oeser made changes -
          Environment Jenkins 1.646
          Multijob-plugin 1.20
          jenkins-job-dsl 1.42
          Jenkins 1.646
          Multijob-plugin 1.20
          jenkins-job-dsl 1.42
          gradle-jenkins-plugin 1.3.2
          daspilker Daniel Spilker made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Not A Defect [ 7 ]
          daspilker Daniel Spilker made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 168527 ] JNJira + In-Review [ 209691 ]

            People

            • Assignee:
              daspilker Daniel Spilker
              Reporter:
              foeser Florian Oeser
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: