Examples of Combination


Examples of hudson.matrix.Combination

    @Test
    public void should_not_run_post_build_if_not_post_build() {
        ConfigSection afterRunSection = new AfterRunSection(configListOrSingleValue("spec integration1", "spec integration2"));

        Combination combination = new Combination(ImmutableMap.of("script", "main"));
        assertNull(afterRunSection.toScript(combination));
    }
View Full Code Here

Examples of hudson.matrix.Combination

                logger.log(Level.FINER, "Adding matrix combination data for {0}", project);
                MatrixConfiguration configuration = (MatrixConfiguration)project;
                TreeNodeMetadataValue[] path = TreeStructureUtil.createTreePath("", "matrix", "combination");
                TreeNodeMetadataValue matrixNode = path[0];
                TreeNodeMetadataValue combinationNode = path[1];
                Combination combination = configuration.getCombination();
                //ToString version of the combination in job-info.matrix.combination.value
                TreeStructureUtil.addValue(combinationNode, combination.toString(',', ':'), "", "value");
                //Each axis in job-info.matrix.combination.[name]=[value]
                for (Map.Entry<String, String> axis : combination.entrySet()) {
                    TreeStructureUtil.addValue(combinationNode, axis.getValue(), "", "axis", axis.getKey());
                }
                jobInfo.addChild(matrixNode);
            }
            logger.finer("Adding standard generated metadata");
View Full Code Here

Examples of hudson.matrix.Combination

            }
            if (StringUtils.isBlank(getCombinationFilter())) {
              // no combination filter stands for all children.
              return true;
            }
            Combination c = run.getParent().getCombination();
            AxisList axes = run.getParent().getParent().getAxes();
           
            return c.evalGroovyExpression(axes, getCombinationFilter());
          }
        }
      );
    } else {
      return Arrays.<AbstractBuild<?,?>>asList(build);
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.