示例#1
0
 private ShellCommands getRunCommands() {
   BuildConfiguration buildConfiguration =
       new BuildConfiguration(
           "groupon/DotCi",
           ImmutableMap.of("run", of("unit", "command", "integration", "integration")),
           "buildId",
           new ShellCommands(),
           "abc123",
           8);
   return buildConfiguration.getCommands(Combination.fromString("script=unit"));
 }
示例#2
0
 @Override
 public ShellCommands toScript(Combination combination, BuildType buildType) {
   return "post_build".equals(combination.get("script"))
       ? super.toScript(combination, buildType)
       : null;
 }
示例#3
0
 @Override
 public AbstractBuild<?, ?> resolveChild(Child child) {
   MatrixBuild b = (MatrixBuild) owner;
   return b.getRun(Combination.fromString(child.name));
 }