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

Build Other Projects - Trigger even if the build fails

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      In the "Post Build Action" section, under the "Build other projects" subsection,
      there is a checkbox for triggering the downstream projects even if the build is
      unstable.

      An additional checkbox for triggering the downstream projects even if the build
      fails would be useful. This would create the following XML in the config.xml:

      <hudson.tasks.BuildTrigger>
      <childProjects>ProjectName</childProjects>
      <threshold>
      <name>FAILURE</name>
      <ordinal>2</ordinal>
      <color>RED</color>
      </threshold>
      </hudson.tasks.BuildTrigger>

      I've manually modified this XML in a config.xml file and the behavior of Hudson
      is exactly what I've described above. Thus, all that's required is a single
      checkbox to the interface for making the above XML changes.

            Unassigned Unassigned
            abonko abonko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: