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

ivy plugin triggers new downstream builds even if current build failed or aborted

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ivy-plugin
    • None
    • Platform: All, OS: All

      Even if the build has failed, the ivy plugin triggers new builds of downstream
      projects.
      I found no configuration option for triggering other builds (when current is
      stable, unstable, failed).
      I'm using Ivy plugin 0.3 (with ivy 2.0) and hudson 1.310.

      From Console output of a build:
      [...]
      Email was triggered for: Failure
      There are 1 triggered emails.
      Sending email for trigger: Failure
      Sending e-mails to: ...
      No Subversion tagging for unsuccessful build.
      Triggering a new build of ActionLib #58
      Triggering a new build of Engine3D #44
      Triggering a new build of InputLib #23
      Finished: FAILURE
      ====

          [JENKINS-4069] ivy plugin triggers new downstream builds even if current build failed or aborted

          Alan Harder added a comment -

          added "or aborted" in issue summary to merge JENKINS-4161 with this issue.. they have the same root cause.

          Alan Harder added a comment - added "or aborted" in issue summary to merge JENKINS-4161 with this issue.. they have the same root cause.

          Alan Harder added a comment -

          Need an update in Hudson core to allow Ivy plugin to control whether the build is triggered.. added dependency on JENKINS-5236.

          Alan Harder added a comment - Need an update in Hudson core to allow Ivy plugin to control whether the build is triggered.. added dependency on JENKINS-5236 .

          Alan Harder added a comment -

          Core update included in Hudson 1.341.
          See this revision in parameterized trigger plugin for how this is used (and only used when present, to remain compatible with older Hudson). Hope this helps..

          Alan Harder added a comment - Core update included in Hudson 1.341. See this revision in parameterized trigger plugin for how this is used (and only used when present, to remain compatible with older Hudson). Hope this helps..

          From what I remember, hibou isn't maintaining this plugin anymore.

          Hibou, can you confirm this?

          If I don't see any development on this issue in a day or two, I can grab it and fix it.

          cheers,
          Timo

          Timothy Bingaman added a comment - From what I remember, hibou isn't maintaining this plugin anymore. Hibou, can you confirm this? If I don't see any development on this issue in a day or two, I can grab it and fix it. cheers, Timo

          Haven't seen any progress on this issue yet and I'm pretty sure hibou has stated previously that he's not working on this plugin anymore so I'm gonna grab it.

          I already have something working locally so shouldn't be long before I can release a version with the fix in it.

          Timothy Bingaman added a comment - Haven't seen any progress on this issue yet and I'm pretty sure hibou has stated previously that he's not working on this plugin anymore so I'm gonna grab it. I already have something working locally so shouldn't be long before I can release a version with the fix in it.

          Code changed in hudson
          User: : tbingaman
          Path:
          trunk/hudson/plugins/ivy/pom.xml
          trunk/hudson/plugins/ivy/src/main/java/hudson/ivy/IvyBuildTrigger.java
          trunk/hudson/plugins/ivy/src/main/java/hudson/ivy/IvyDependency.java
          trunk/hudson/plugins/ivy/src/main/resources/hudson/ivy/IvyBuildTrigger/config.jelly
          trunk/hudson/plugins/ivy/src/main/resources/hudson/ivy/IvyBuildTrigger/config.properties
          trunk/hudson/plugins/ivy/src/main/resources/hudson/ivy/IvyBuildTrigger/help-triggerWhenUnstable.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=26050
          Log:
          [FIXED JENKINS-4069] Ivy plugin no longer triggers downstream builds when the build has failed or been aborted.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : tbingaman Path: trunk/hudson/plugins/ivy/pom.xml trunk/hudson/plugins/ivy/src/main/java/hudson/ivy/IvyBuildTrigger.java trunk/hudson/plugins/ivy/src/main/java/hudson/ivy/IvyDependency.java trunk/hudson/plugins/ivy/src/main/resources/hudson/ivy/IvyBuildTrigger/config.jelly trunk/hudson/plugins/ivy/src/main/resources/hudson/ivy/IvyBuildTrigger/config.properties trunk/hudson/plugins/ivy/src/main/resources/hudson/ivy/IvyBuildTrigger/help-triggerWhenUnstable.html http://fisheye4.cenqua.com/changelog/hudson/?cs=26050 Log: [FIXED JENKINS-4069] Ivy plugin no longer triggers downstream builds when the build has failed or been aborted.

          hibou added a comment -

          Actually I am getting again more interested in this plugin, and this particular issue was getting my attention lately. Then thank you for this fix.
          But Timo you are more than welcomed to change the assignement on any issue about the Ivy plugin. For some reason I am the default assigned. But I am not considering myself to have any particular lead on this plugin. I was just the initial contributor.

          Nicolas

          hibou added a comment - Actually I am getting again more interested in this plugin, and this particular issue was getting my attention lately. Then thank you for this fix. But Timo you are more than welcomed to change the assignement on any issue about the Ivy plugin. For some reason I am the default assigned. But I am not considering myself to have any particular lead on this plugin. I was just the initial contributor. Nicolas

          Hey Nicolas, no problem, and thanks for creating this plugin in the first place

          I just did a release with this fix in it (probably take a day before it shows up though). It's version 0.6 and requires Hudson 1.341+.

          Also, I'd be interested to hear your input on Adding Ivy Project Support.

          Timo

          Timothy Bingaman added a comment - Hey Nicolas, no problem, and thanks for creating this plugin in the first place I just did a release with this fix in it (probably take a day before it shows up though). It's version 0.6 and requires Hudson 1.341+. Also, I'd be interested to hear your input on Adding Ivy Project Support . Timo

          Marco Ambu added a comment -

          Hi, I have verified that it works using hudson 1.341 and last plugin version (0.6). Thank you very much!

          Marco Ambu added a comment - Hi, I have verified that it works using hudson 1.341 and last plugin version (0.6). Thank you very much!

          hibou added a comment -

          @Timo: I have looked to your proposal. I have to admit I didn't see the advantage of aggregating several "free project" managed by Ivy into one single "Ivy project". Maybe to avoid the pain of configuring multiple times the same kind of project, but the "clone project" feature is here to help. And would the other plugins be able to be plugged into an Ivy project? It would be a shame to not be able to activate Chuck Norris on an Ivy project

          I have just subscribed again to hudson-dev if you want to continue discuss in a more appropriate place.

          Nicolas

          hibou added a comment - @Timo: I have looked to your proposal. I have to admit I didn't see the advantage of aggregating several "free project" managed by Ivy into one single "Ivy project". Maybe to avoid the pain of configuring multiple times the same kind of project, but the "clone project" feature is here to help. And would the other plugins be able to be plugged into an Ivy project? It would be a shame to not be able to activate Chuck Norris on an Ivy project I have just subscribed again to hudson-dev if you want to continue discuss in a more appropriate place. Nicolas

            tbingaman Timothy Bingaman
            mambu Marco Ambu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: