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, boolean quiet, String pin) { super(true, false, modtime, quiet, 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 | |
---|---|---|---|---|---|
#8 | 23017 | Paul Allen |
MultiBranch configuration cleanup. Remove BETA, hide standard options in Advanced group and added isGraphCompatible check in Populate Descriptor. |
||
#7 | 22684 | Paul Allen | Added @Symbol to Extension classes for Pipeline Syntax. | ||
#6 | 22315 | Paul Allen |
Pending change cleanup for unshelve. Unshelve would leave files open for add/edit/delete, the 'tidy' option will 'revert -k' the files leaving the content in the workspace, but removing the 'have' list data. Unshelve can now specify a Credential and Workspace, important for situations where more than one sync occurs in a pipeline script. JENKINS-43430 |
||
#5 | 19324 | Paul Allen |
Added Parallel Sync. An Advanced Populate option. Must specify the PATH to the ‘p4’ executable as parallel sync is not supported by p4java. JENKINS-29228 |
||
#4 | 15394 | Paul Allen |
Workflow-DSL functionality. Tested workflow DSL against 1.596.1 older functionality tested against 1.580.1 @sven_erik_knop |
||
#3 | 12977 | Paul Allen | Quiet option for Populate. | ||
#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 |