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

Aborting the master job should abort all the downstream

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We trigger multijob projects from Gerrit, our code-review tool. When we push another patchset, the master job will be aborted - as its results are no longer interesting. Unfortunately, the sub jobs will continue to run, consuming resources and potentially be misleading.

        Attachments

          Activity

          Hide
          nickolayr Nickolay Rumyantsev added a comment -

          I suppose it is the same issue, but the linked one is older.

          Show
          nickolayr Nickolay Rumyantsev added a comment - I suppose it is the same issue, but the linked one is older.
          Hide
          sschuberth Sebastian Schuberth added a comment -

          @Nickolay: The symptoms are the same, but I believe the issues need to be solved independently as they appear in different components / plugins, so they are not duplicates in the strict sense.

          Show
          sschuberth Sebastian Schuberth added a comment - @Nickolay: The symptoms are the same, but I believe the issues need to be solved independently as they appear in different components / plugins, so they are not duplicates in the strict sense.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Mathieu Cantin
          Path:
          pom.xml
          src/main/java/com/tikal/jenkins/plugins/multijob/FileBuildParameters.java
          src/main/java/com/tikal/jenkins/plugins/multijob/LineQueue.java
          src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobBuild.java
          src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobBuilder.java
          src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobChangeLogSet.java
          src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobProject.java
          src/main/java/com/tikal/jenkins/plugins/multijob/ParserRuleFile.java
          src/main/java/com/tikal/jenkins/plugins/multijob/PhaseJobsConfig.java
          src/main/java/com/tikal/jenkins/plugins/multijob/Plugin.java
          src/main/java/com/tikal/jenkins/plugins/multijob/PredefinedBuildParameters.java
          src/main/java/com/tikal/jenkins/plugins/multijob/SubTask.java
          src/main/java/com/tikal/jenkins/plugins/multijob/views/AbstractWrapper.java
          src/main/java/com/tikal/jenkins/plugins/multijob/views/BuildState.java
          src/main/java/com/tikal/jenkins/plugins/multijob/views/ConsoleColumn.java
          src/main/java/com/tikal/jenkins/plugins/multijob/views/JobColumn.java
          src/main/java/com/tikal/jenkins/plugins/multijob/views/LastDurationColumn.java
          src/main/java/com/tikal/jenkins/plugins/multijob/views/LastFailureColumn.java
          src/main/java/com/tikal/jenkins/plugins/multijob/views/LastSuccessColumn.java
          src/main/java/com/tikal/jenkins/plugins/multijob/views/MultiJobListViewColumn.java
          src/main/java/com/tikal/jenkins/plugins/multijob/views/MultiJobView.java
          src/main/java/com/tikal/jenkins/plugins/multijob/views/PhaseWrapper.java
          src/main/java/com/tikal/jenkins/plugins/multijob/views/ProjectWrapper.java
          src/main/java/com/tikal/jenkins/plugins/multijob/views/StatusColumn.java
          src/main/java/com/tikal/jenkins/plugins/multijob/views/WeatherColumn.java
          src/main/resources/com/tikal/jenkins/plugins/multijob/MultiJobBuild/main.jelly
          src/main/resources/com/tikal/jenkins/plugins/multijob/MultiJobBuilder/config.jelly
          src/main/resources/com/tikal/jenkins/plugins/multijob/MultiJobProject/main.jelly
          src/main/resources/com/tikal/jenkins/plugins/multijob/PhaseJobsConfig/global.jelly
          src/main/webapp/help-abort.html
          src/main/webapp/help-addParsingRules.html
          src/main/webapp/help-condition.html
          src/main/webapp/help-maxRetry.html
          src/main/webapp/help-parseRuleChoice.html
          src/main/webapp/help-retry.html
          src/main/webapp/retry.gif
          src/test/java/com/tikal/jenkins/plugins/multijob/test/ConditionalPhaseTest.java
          src/test/java/com/tikal/jenkins/plugins/multijob/test/PhaseJobsConfigTest.java
          http://jenkins-ci.org/commit/tikal-multijob-plugin/4260fc5c317ea1328129777e0987a2fceceffd15
          Log:
          Allow retry of jobs in a phase + multiple fixes

          • Updated dependencies
          • Stopping Multi Job will also stops all downstream job JENKINS-24139
            JENKINS-22292 JENKINS-21879 JENKINS-20273 JENKINS-23161
          • Add the possibility to make a step conditional. You can define simple
            groovy expression for each job. JENKINS-23968
          • Fix NPE when a downstream job is unstable JENKINS-20846
            JENKINS-20557
          • Add retry on a failed job when a user defined condition is met. You
            can configure the number of retries per job.
          • Some fixes to match the new look of Jenkins.
          • Rename Delete to "Delete job" because there is confusion between the
            deletion of parameters and the delete of a job.
          • Allow reordering jobs in a phase
          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mathieu Cantin Path: pom.xml src/main/java/com/tikal/jenkins/plugins/multijob/FileBuildParameters.java src/main/java/com/tikal/jenkins/plugins/multijob/LineQueue.java src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobBuild.java src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobBuilder.java src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobChangeLogSet.java src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobProject.java src/main/java/com/tikal/jenkins/plugins/multijob/ParserRuleFile.java src/main/java/com/tikal/jenkins/plugins/multijob/PhaseJobsConfig.java src/main/java/com/tikal/jenkins/plugins/multijob/Plugin.java src/main/java/com/tikal/jenkins/plugins/multijob/PredefinedBuildParameters.java src/main/java/com/tikal/jenkins/plugins/multijob/SubTask.java src/main/java/com/tikal/jenkins/plugins/multijob/views/AbstractWrapper.java src/main/java/com/tikal/jenkins/plugins/multijob/views/BuildState.java src/main/java/com/tikal/jenkins/plugins/multijob/views/ConsoleColumn.java src/main/java/com/tikal/jenkins/plugins/multijob/views/JobColumn.java src/main/java/com/tikal/jenkins/plugins/multijob/views/LastDurationColumn.java src/main/java/com/tikal/jenkins/plugins/multijob/views/LastFailureColumn.java src/main/java/com/tikal/jenkins/plugins/multijob/views/LastSuccessColumn.java src/main/java/com/tikal/jenkins/plugins/multijob/views/MultiJobListViewColumn.java src/main/java/com/tikal/jenkins/plugins/multijob/views/MultiJobView.java src/main/java/com/tikal/jenkins/plugins/multijob/views/PhaseWrapper.java src/main/java/com/tikal/jenkins/plugins/multijob/views/ProjectWrapper.java src/main/java/com/tikal/jenkins/plugins/multijob/views/StatusColumn.java src/main/java/com/tikal/jenkins/plugins/multijob/views/WeatherColumn.java src/main/resources/com/tikal/jenkins/plugins/multijob/MultiJobBuild/main.jelly src/main/resources/com/tikal/jenkins/plugins/multijob/MultiJobBuilder/config.jelly src/main/resources/com/tikal/jenkins/plugins/multijob/MultiJobProject/main.jelly src/main/resources/com/tikal/jenkins/plugins/multijob/PhaseJobsConfig/global.jelly src/main/webapp/help-abort.html src/main/webapp/help-addParsingRules.html src/main/webapp/help-condition.html src/main/webapp/help-maxRetry.html src/main/webapp/help-parseRuleChoice.html src/main/webapp/help-retry.html src/main/webapp/retry.gif src/test/java/com/tikal/jenkins/plugins/multijob/test/ConditionalPhaseTest.java src/test/java/com/tikal/jenkins/plugins/multijob/test/PhaseJobsConfigTest.java http://jenkins-ci.org/commit/tikal-multijob-plugin/4260fc5c317ea1328129777e0987a2fceceffd15 Log: Allow retry of jobs in a phase + multiple fixes Updated dependencies Stopping Multi Job will also stops all downstream job JENKINS-24139 JENKINS-22292 JENKINS-21879 JENKINS-20273 JENKINS-23161 Add the possibility to make a step conditional. You can define simple groovy expression for each job. JENKINS-23968 Fix NPE when a downstream job is unstable JENKINS-20846 JENKINS-20557 Add retry on a failed job when a user defined condition is met. You can configure the number of retries per job. Some fixes to match the new look of Jenkins. Rename Delete to "Delete job" because there is confusion between the deletion of parameters and the delete of a job. Allow reordering jobs in a phase

            People

            Assignee:
            mcantin Mathieu Cantin
            Reporter:
            shepmaster Jake Goulding
            Votes:
            7 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: