config.jelly #7

  • //
  • guest/
  • perforce_software/
  • p4jenkins/
  • main/
  • src/
  • main/
  • resources/
  • org/
  • jenkinsci/
  • plugins/
  • p4/
  • populate/
  • SyncOnlyImpl/
  • config.jelly
  • View
  • Commits
  • Open Download .zip Download (887 B)
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:f="/lib/form">
 
 	<f:entry>
		<f:checkbox title="${%Populate have list}" field="have" default="true"/>
	</f:entry>
	
	<f:entry field="modtime">
		<f:checkbox title="${%Sync with MODTIME for consistency check}" default="false"/>
	</f:entry>

	<f:entry field="quiet">
		<f:checkbox title="${%QUIET Perforce messages}" default="true"/>
	</f:entry>
	
	<f:entry field="revert">
		<f:checkbox title="${%Revert any open or unshelved files}" default="false"/>
	</f:entry>
		 
	<f:entry field="pin">
		<table border="0" width="100%">
			<tr>
				<td nowrap="true">Pin build at Perforce Label</td>
				<td width="100%"><f:textbox/></td>
			</tr>
		</table>
	</f:entry>

	<f:section title="Parallel sync">
		<f:advanced>
			<f:entry>
				<f:property field="parallel" />
			</f:entry>
		</f:advanced>
	</f:section>
	
</j:jelly>
# Change User Description Committed
#8 22538 Paul Allen Added 'Force' option to 'SyncOnly'.

To get 'sync -f' set both 'have' and 'force'; for 'sync -p' just set 'force'.

JENKINS-45127
#7 22349 Paul Allen Parallel Sync using P4Java.

Update to P4Java 2017.2; using RPC level parallel sync and threaded within the JVM. Native parallel sync no longer requires a 'p4d' binary.
#6 20011 mjoubert @mjoubert
Add parallel sync options to Sync Only
#5 19519 Paul Allen Jelly header update.

<?jelly escape-by-default='true'?>
#4 18723 Paul Allen Add a revert option to SyncOnly Populate mode.

Remove the revert -k option from unshelve task and leave it to the Populate cleanup step.
#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/resources/org/jenkinsci/plugins/p4/populate/SyncOnlyImpl/config.jelly
#1 9672 Paul Allen Refactor name from 'p4_client' to 'p4'.
//guest/paul_allen/dev/p4-jenkins/p4-client/src/main/resources/org/jenkinsci/plugins/p4_client/populate/SyncOnlyImpl/config.jelly
#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