mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
simplified.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4530 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
f8b2457919
commit
7d9ce4e3ef
1 file changed
+2
-2
@@ -283,12 +283,12 @@ public class MavenBuild extends AbstractBuild<MavenModule,MavenBuild> {
|
||||
protected void abortIfNotStarted() {
|
||||
if(hasntStartedYet()) {
|
||||
run(new Runner() {
|
||||
public Result run(BuildListener listener) throws Exception, RunnerAbortedException {
|
||||
public Result run(BuildListener listener) {
|
||||
listener.getLogger().println("Build failed before it gets to this module");
|
||||
return Result.ABORTED;
|
||||
}
|
||||
|
||||
public void post(BuildListener listener) throws Exception {
|
||||
public void post(BuildListener listener) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user