package org.jenkinsci.plugins.p4.populate; import hudson.DescriptorExtensionList; import hudson.ExtensionPoint; import hudson.model.Describable; import java.io.Serializable; import jenkins.model.Jenkins; public abstract class Populate implements ExtensionPoint, Describable<Populate>, Serializable { private static final long serialVersionUID = 1L; private final boolean have; // ! sync '-p' private final boolean force; // sync '-f' private final boolean modtime; private final boolean quiet; // task '-q' private final String pin; public Populate(boolean have, boolean force, boolean modtime, boolean quiet, String pin) { this.have = have; this.force = force; this.modtime = modtime; this.pin = pin; this.quiet = quiet; } public boolean isHave() { return have; } public boolean isForce() { return force; } public boolean isModtime() { return modtime; } public boolean isQuiet() { return quiet; } public String getPin() { return pin; } public PopulateDescriptor getDescriptor() { return (PopulateDescriptor) Jenkins.getInstance().getDescriptor( getClass()); } public static DescriptorExtensionList<Populate, PopulateDescriptor> all() { return Jenkins.getInstance() .<Populate, PopulateDescriptor> getDescriptorList( Populate.class); } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 13620 | Sven Erik Knop | Merge changes from Paul's latest release | ||
#1 | 12955 | Sven Erik Knop | Branching using sknop.p4jenkins-main | ||
//guest/perforce_software/p4jenkins/main/src/main/java/org/jenkinsci/plugins/p4/populate/Populate.java | |||||
#2 | 10841 | Paul Allen |
Support for 2014.1 reconcile by MODTIME Feature allows a user check the option ‘Sync with MODTIME for consistency check’ under the ‘Populate’ option to enable reconcile to check files based on MODTIME. Includes test case for MODTIME and minor fix for fetching a Label when there is no previous change. JENKINS-25341 |
||
#1 | 9690 | Paul Allen |
[Branching using p4-jenkins] Release 1.0.1 |
||
//guest/paul_allen/dev/p4-jenkins/p4-client/src/main/java/org/jenkinsci/plugins/p4/populate/Populate.java | |||||
#1 | 9672 | Paul Allen | Refactor name from 'p4_client' to 'p4'. | ||
//guest/paul_allen/dev/p4-jenkins/p4-client/src/main/java/org/jenkinsci/plugins/p4_client/populate/Populate.java | |||||
#3 | 9496 | Paul Allen | Added missing Serializable to Populate class. | ||
#2 | 9472 | Paul Allen |
Added support to pin build at a label in the populate configuration. - includes help and updates to tests. |
||
#1 | 9115 | Paul Allen |
Initial implementation of workspace Cleanup and Sync options. - Includes 3 modes: Automatic Clean/Sync, Force Clean/Sync, Sync Only Automatic Clean/Sync Uses reconcile to clean up workspace and sync changes. Force Clean/Sync Force sync of all files (does not remove files yet...) Sync Only Normal sync with no cleanup TODO: - remove of files in Force Clean/Sync mode - Inline help - Update docs - Add unit/functional tests |