Package com.groupon.jenkins.buildtype.util.shell

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


        }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

       }
   }

    @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

Related Classes of com.groupon.jenkins.buildtype.util.shell.ShellScriptRunner

Copyright © 2018 www.massapicom. 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.