package org.jenkinsci.plugins.p4.matrix; import hudson.Extension; import hudson.matrix.MatrixExecutionStrategyDescriptor; import hudson.matrix.DefaultMatrixExecutionStrategyImpl; import java.util.logging.Logger; import org.kohsuke.stapler.DataBoundConstructor; public class MatrixOptions extends DefaultMatrixExecutionStrategyImpl { protected static final Logger LOGGER = Logger.getLogger(MatrixOptions.class .getName()); private final boolean buildParent; public boolean isBuildParent() { return buildParent; } @DataBoundConstructor public MatrixOptions(boolean buildParent, boolean buildAxes, boolean runSequentially) { super(runSequentially, false, null, null, null); this.buildParent = buildParent; } @Extension public static final class DescriptorImpl extends MatrixExecutionStrategyDescriptor { @Override public String getDisplayName() { return "Perforce: Matrix options"; } } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 11337 | Paul Allen | Merge down latest changes from MAIN | ||
#1 | 11053 | Paul Allen | Branching using p4-jenkins | ||
//guest/perforce_software/p4jenkins/main/src/main/java/org/jenkinsci/plugins/p4/matrix/MatrixOptions.java | |||||
#1 | 10906 | Paul Allen |
Matrix Polling and Parent control - Polling for Matrix builds calculates changes based on children. - Parent build disabled when using "Matrix options for Perforce" in the Matrix Configuration (can be enabled by checking the “Build parent” box). - Parent Build now substitutes ${var} with ‘*’ for the workspace view. e.g. //depot/${os}/… //ws/${os}/… becomes… //depot/*/… //ws/*/… instead of… //depot/os/… //ws/os/… |