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

Add AND of build results instead of OR

    Details

    • Similar Issues:

      Description

      Using BuildResultTrigger 0.12, I have two build results that I want to monitor. At the moment one is passing, and one is failing. It looks like the logic for more then one result monitor is an OR. This is fine if you want to do something if any of the results match a given criteria. I however only want to trigger the down stream build when BOTH my result monitors are SUCCESS. There does not seem to be a way to change the logic.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/org/jenkinsci/lib/xtrigger/AbstractTriggerByFullContext.java
          http://jenkins-ci.org/commit/xtrigger-lib/9833c11e062edad8998577d9506d6168cbf122cd
          Log:
          Fix JENKINS-18888

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/lib/xtrigger/AbstractTriggerByFullContext.java http://jenkins-ci.org/commit/xtrigger-lib/9833c11e062edad8998577d9506d6168cbf122cd Log: Fix JENKINS-18888
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          pom.xml
          src/main/java/org/jenkinsci/plugins/buildresulttrigger/BuildResultTrigger.java
          src/main/resources/org/jenkinsci/plugins/buildresulttrigger/BuildResultTrigger/config.jelly
          http://jenkins-ci.org/commit/buildresult-trigger-plugin/344cfc4ddfeb154620a426d76445f3fa7cdddf2c
          Log:
          Fix JENKINS-18888

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: pom.xml src/main/java/org/jenkinsci/plugins/buildresulttrigger/BuildResultTrigger.java src/main/resources/org/jenkinsci/plugins/buildresulttrigger/BuildResultTrigger/config.jelly http://jenkins-ci.org/commit/buildresult-trigger-plugin/344cfc4ddfeb154620a426d76445f3fa7cdddf2c Log: Fix JENKINS-18888

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              tparent Tony Parent
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: