mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
merging 3 of them to make them more concise
This commit is contained in:
1 parent
65d25aafe2
commit
29c7b8b0ad
1 file changed
+3
-9
@@ -607,18 +607,12 @@ public class MavenModuleSetBuild extends AbstractMavenBuild<MavenModuleSet,Maven
|
||||
}
|
||||
|
||||
// run pre build steps
|
||||
if(!preBuild(listener,project.getPrebuilders())){
|
||||
if(!preBuild(listener,project.getPrebuilders())
|
||||
|| !preBuild(listener,project.getPostbuilders())
|
||||
|| !preBuild(listener,project.getPublishers())){
|
||||
r = FAILURE;
|
||||
return r;
|
||||
}
|
||||
if(!preBuild(listener,project.getPostbuilders())){
|
||||
r = FAILURE;
|
||||
return r;
|
||||
}
|
||||
if(!preBuild(listener, project.getPublishers())){
|
||||
r = FAILURE;
|
||||
return r;
|
||||
}
|
||||
|
||||
if(!build(listener,project.getPrebuilders().toList())){
|
||||
r = FAILURE;
|
||||
|
||||
Reference in new issue
Block a user