Examples of ShellScriptRunner


Examples of com.groupon.jenkins.buildtype.util.shell.ShellScriptRunner

        }
    }

    private Result runBuildCombination(Combination combination,BuildExecutionContext buildExecutionContext, BuildListener listener) throws IOException, InterruptedException {
        ShellCommands mainBuildScript = buildConfiguration.toScript(combination);
        return new ShellScriptRunner(buildExecutionContext,listener).runScript(mainBuildScript);
    }
View Full Code Here

Examples of com.groupon.jenkins.buildtype.util.shell.ShellScriptRunner

        }catch (InterruptedException e){
            if(buildConfiguration !=null && Iterables.isEmpty(buildConfiguration.getLinkCleanupCommands())){
                ShellCommands cleanupCommands = new ShellCommands();
                cleanupCommands.addAll(buildConfiguration.getLinkCleanupCommands());
                new ShellScriptRunner(buildExecutionContext, listener).runScript(cleanupCommands);
            }
           throw e;
        }
    }
View Full Code Here

Examples of com.groupon.jenkins.buildtype.util.shell.ShellScriptRunner

       }
   }

    @Override
    public Result runSubBuild(Combination combination, BuildExecutionContext buildExecutionContext, BuildListener listener) throws IOException, InterruptedException {
        return new ShellScriptRunner(buildExecutionContext, listener).runScript(buildConfiguration.toShellCommands(combination));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.