Skip to content

Commit

Permalink
[FIXED JENKINS-19954] fixing logic for axes builds
Browse files Browse the repository at this point in the history
  • Loading branch information
rpetti committed Oct 10, 2013
1 parent 3975f05 commit a5599c9
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -79,8 +79,7 @@ public boolean endBuild() throws InterruptedException, IOException {
public boolean perform(AbstractBuild<?, ?> build, final Launcher launcher, final BuildListener listener) throws InterruptedException, IOException {
Job job = build.getProject();
boolean axe = isMatrixAxe(job);
if ( (axe && executeOn.axes()) // matrix axe, and set to execute on axes' nodes
|| (!axe)) { // neither matrix head nor axe
if ( (axe && executeOn.axes()) ) { // matrix axe, and set to execute on axes' nodes
return _perform(build, launcher, listener);
}
return true;
Expand Down

0 comments on commit a5599c9

Please sign in to comment.