Issue Type: Bug Bug
Affects Versions: current
Assignee: Dominik Bartholdi
Components: nodelabelparameter
Created: 21/May/14 2:23 PM
Description:

If you configure a Job with a Node Parameter and the following configuration

  • run next build only if build succeeds
  • node eligibility set to "All Nodes"
    and you select multiple nodes to build the job, the next build will always be triggered by the result of the main build action although a post build step (e.g. JUnit Test publisher) will mark the build as failed or unstable. I was expecting that the overall result will be considered before running the next build.

I added three test cases to the NodeLabelParameterTest class of the acceptance test harness project to underline this

One causes the main build to fail. In that case everything works as expected, subsequent builds are not started after the first build fails
The other two test cases use publishers to change the build result. In both cases the job will be built on all nodes.

Environment: Jenkins 1.563
Project: Jenkins
Priority: Major Major
Reporter: Martin Ende
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to