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

New Trigger: broken build -> compiling build (unstable/stable)

    XMLWordPrintable

Details

    Description

      I am wanting a new trigger that will send emails on the transition from a broken build (red orb) to a compiling build (yellow or blue orb). This would let us know that a build has been fixed but not necessarily that all tests are currently passing. Unfortunately the Fixed trigger does not meet this requirement as it would send an email on the transition from yellow to blue orbs (not desired), and misses the transition from red to yellow orbs.

      Attachments

        Activity

          slide_o_mix Alex Earl added a comment -

          Added new Building trigger for the transition from Failure to Unstable.

          slide_o_mix Alex Earl added a comment - Added new Building trigger for the transition from Failure to Unstable.
          calculu5 calculu5 added a comment -

          Thanks. Quick questions. What is the trigger for the transition from Failure -> Successful (so I can configure the other part of my request)? Also, is there documentation on the script triggers (e.g. variables that can be used)?

          calculu5 calculu5 added a comment - Thanks. Quick questions. What is the trigger for the transition from Failure -> Successful (so I can configure the other part of my request)? Also, is there documentation on the script triggers (e.g. variables that can be used)?
          slide_o_mix Alex Earl added a comment -

          Should be the Fixed trigger. I haven't added docs to the wiki, but there is documentation inside the configuration pages for each trigger (see the help icon next to the trigger).

          slide_o_mix Alex Earl added a comment - Should be the Fixed trigger. I haven't added docs to the wiki, but there is documentation inside the configuration pages for each trigger (see the help icon next to the trigger).
          calculu5 calculu5 added a comment -

          The description for the Fixed trigger says: "An email will be sent when the build status changes from "Failure" or "Unstable" to "Successful"."

          This sounds like it would trigger on the "there are some tests failing" to "there are no tests failing" (not desired) in addition to the "Failure" to "Successful" transition (which is what I am looking for).

          calculu5 calculu5 added a comment - The description for the Fixed trigger says: "An email will be sent when the build status changes from "Failure" or "Unstable" to "Successful"." This sounds like it would trigger on the "there are some tests failing" to "there are no tests failing" (not desired) in addition to the "Failure" to "Successful" transition (which is what I am looking for).
          slide_o_mix Alex Earl added a comment -

          You could filter in the pre-send script if you want.

          slide_o_mix Alex Earl added a comment - You could filter in the pre-send script if you want.

          People

            slide_o_mix Alex Earl
            calculu5 calculu5
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: