package org.jenkinsci.plugins.p4.populate; import hudson.Extension; import org.jenkinsci.Symbol; import org.kohsuke.stapler.DataBoundConstructor; public class ForceCleanImpl extends Populate { private static final long serialVersionUID = 1L; /** * Force sync of workspace (optional have update) * * @param have populate have list * @param quiet Perforce quiet option * @param pin Change or label to pin the sync * @param parallel Parallel sync options */ @DataBoundConstructor public ForceCleanImpl(boolean have, boolean quiet, String pin, ParallelSync parallel) { super(have, true, false, quiet, pin, parallel); } @Extension @Symbol("forceClean") public static final class DescriptorImpl extends PopulateDescriptor { @Override public String getDisplayName() { return "Forced clean and sync"; } @Override public boolean isGraphCompatible() { return false; } } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 23685 | Paul Allen | Copy main -> dev | ||
#1 | 20641 | Paul Allen | Copy main -> dev (jenkinsci/p4-plugin) | ||
//guest/perforce_software/p4jenkins/main/src/main/java/org/jenkinsci/plugins/p4/populate/ForceCleanImpl.java | |||||
#7 | 20179 | Paul Allen | Javadoc fixes for java 8 builds. | ||
#6 | 19752 | Paul Allen | Remove 'modtime' option from ForceClean | ||
#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/ForceCleanImpl.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/ForceCleanImpl.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 |