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

auto build of downstream projects doesn't workfor m2 jobs in unstable state, when using surefire flag testFailureIgnore

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: Sun, OS: Solaris

      I have a job which use the maven2 native support. This one has some downstream
      projects.
      If the upstream projects has an unstable state, the downstream projects are not
      build even if upstream projects have the surefire flag testFailureIgnore set to
      true.

          [JENKINS-3122] auto build of downstream projects doesn't workfor m2 jobs in unstable state, when using surefire flag testFailureIgnore

          Olivier Lamy created issue -

          This behavior is in line with the freestyle project, so I consider this an
          enhancement, not a defect.

          Kohsuke Kawaguchi added a comment - This behavior is in line with the freestyle project, so I consider this an enhancement, not a defect.

          Andrew Bayer added a comment -

          Duplicate of 2598.

              • This issue has been marked as a duplicate of 2598 ***

          Andrew Bayer added a comment - Duplicate of 2598. This issue has been marked as a duplicate of 2598 ***
          Andrew Bayer made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Link New: This issue duplicates JENKINS-2598 [ JENKINS-2598 ]

          erimag added a comment -

          I disagree that this is a duplicate of 2598. That issue deals with the "trigger even if the build is unstable" explicit checkbox set in Hudson.

          My interpretation of this issue is that a Maven2 build should automatically implement this behaviour (i.e. trigger downstream builds) if the build is unstable AND the pom has the flag "testFailureIgnore" set to true as below:

          <plugin>
          	<groupId>org.apache.maven.plugins</groupId>
          	<artifactId>maven-surefire-plugin</artifactId>
          	<configuration>
          		<testFailureIgnore>true</testFailureIgnore>
          	</configuration>
          </plugin>
          

          This should happen regardless of if the "trigger even if the build is unstable" is set explicitely on the Hudson job. I agree that this should be seen as an enhancement, but I think it should be re-opened as an independent issue.

          erimag added a comment - I disagree that this is a duplicate of 2598. That issue deals with the "trigger even if the build is unstable" explicit checkbox set in Hudson. My interpretation of this issue is that a Maven2 build should automatically implement this behaviour (i.e. trigger downstream builds) if the build is unstable AND the pom has the flag "testFailureIgnore" set to true as below: <plugin> <groupId> org.apache.maven.plugins </groupId> <artifactId> maven-surefire-plugin </artifactId> <configuration> <testFailureIgnore> true </testFailureIgnore> </configuration> </plugin> This should happen regardless of if the "trigger even if the build is unstable" is set explicitely on the Hudson job. I agree that this should be seen as an enhancement, but I think it should be re-opened as an independent issue.
          erimag made changes -
          Resolution Original: Duplicate [ 3 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          evernat made changes -
          Link New: This issue is related to JENKINS-2598 [ JENKINS-2598 ]

          evernat added a comment -

          The suggested improvement is related to JENKINS-2598 ("trigger even if the build is unstable" checkbox) but it is not a duplicate.

          evernat added a comment - The suggested improvement is related to JENKINS-2598 ("trigger even if the build is unstable" checkbox) but it is not a duplicate.
          evernat made changes -
          Link Original: This issue duplicates JENKINS-2598 [ JENKINS-2598 ]

            Unassigned Unassigned
            olamy Olivier Lamy
            Votes:
            7 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: