package org.jenkinsci.plugins.p4.populate; import hudson.Extension; import org.kohsuke.stapler.DataBoundConstructor; public class AutoCleanImpl extends Populate { private final boolean replace; private final boolean delete; @DataBoundConstructor public AutoCleanImpl(boolean replace, boolean delete, boolean modtime, String pin) { super(true, false, modtime, pin); // normal sync; no -f, no -p this.replace = replace; this.delete = delete; } public boolean isReplace() { return replace; } public boolean isDelete() { return delete; } @Extension public static final class DescriptorImpl extends PopulateDescriptor { @Override public String getDisplayName() { return "Auto cleanup and sync"; } } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 11053 | Paul Allen | Branching using p4-jenkins | ||
//guest/perforce_software/p4jenkins/main/src/main/java/org/jenkinsci/plugins/p4/populate/AutoCleanImpl.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/AutoCleanImpl.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/AutoCleanImpl.java | |||||
#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 |