Esempio n. 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"));
 }
Esempio n. 2
0
 @Override
 public ShellCommands toScript(Combination combination, BuildType buildType) {
   return "post_build".equals(combination.get("script"))
       ? super.toScript(combination, buildType)
       : null;
 }
Esempio n. 3
0
 @Override
 public AbstractBuild<?, ?> resolveChild(Child child) {
   MatrixBuild b = (MatrixBuild) owner;
   return b.getRun(Combination.fromString(child.name));
 }