global.jelly #11

  • //
  • guest/
  • perforce_software/
  • p4jenkins/
  • main/
  • src/
  • main/
  • resources/
  • org/
  • jenkinsci/
  • plugins/
  • p4/
  • PerforceScm/
  • global.jelly
  • View
  • Commits
  • Open Download .zip Download (2 KB)
<?jelly escape-by-default='true'?>
<j:jelly 	xmlns:j="jelly:core" 	xmlns:st="jelly:stapler" 	xmlns:d="jelly:define" 
			xmlns:l="/lib/layout" 	xmlns:t="/lib/hudson" 		xmlns:f="/lib/form"
			xmlns:c="/lib/credentials">
		
	<f:section title="Perforce: Save Configuration (BETA: Subject to change!)">
		<f:entry title="${%Enable Configuration Versioning}" field="autoSave">
			<f:checkbox title="${%Enabled}" default="false"/>
		</f:entry>
		<f:entry title="Perforce Credentials" field="credential">
			<c:select/>
		</f:entry>
		<f:entry title="${%Workspace name }" field="clientName">
			<f:textbox />
		</f:entry>
		<f:entry title="${%Depot location }" field="depotPath">
			<f:textbox />
		</f:entry>
		<f:entry title="${%Submit changes automatically}" field="autoSubmitOnChange">
			<f:checkbox title="${%Enabled}" default="true"/>
		</f:entry>
	</f:section>
	
	<f:section title="Perforce: OnDelete Workspace Options">
		<f:entry field="deleteClient">
			<f:checkbox title="${%Delete Perforce client}" default="true"/>
		</f:entry>
		<f:entry field="deleteFiles">
			<f:checkbox title="${%Delete Workspace files}" default="true"/>
		</f:entry>
	</f:section>
	
	<f:section title="Perforce: Secure P4_TICKET">
		<f:entry field="hideTicket">
			<f:checkbox title="${%Hide TICKET}" default="false"/>
		</f:entry>
	</f:section>

	<f:section title="Perforce: Query limits">
    	<f:entry title="${%Maximum number of files shown in a changelist}" field="maxFiles">
    		<f:textbox default="${descriptor.DEFAULT_FILE_LIMIT}"/>
    	</f:entry>
    	<f:entry title="${%Maximum number of changes shown in a build}" field="maxChanges">
            <f:textbox default="${descriptor.DEFAULT_CHANGE_LIMIT}"/>
        </f:entry>
        <f:entry title="${%Head change query limit}" field="headLimit">
            <f:textbox default="${descriptor.DEFAULT_HEAD_LIMIT}"/>
        </f:entry>
    </f:section>
	
</j:jelly>
# Change User Description Committed
#18 31322 Sandeep Kumar Remove useUpdateURL parameter.
This is not required.
#17 31269 Sandeep Kumar Add Support for Swarm Update Callback
#16 28497 Paul Allen Moved the User session configuration to Credentials.

The global configuration settings are not accessible during slave execution. Moving the configuration under Credentials allows users easily try out the cache for specific users/p4d servers.
#15 28466 Paul Allen 'inline' optionalBlock.
This presents 'sessionEnabled' as a bool and not an object containing 'minLife'.
#14 28464 Paul Allen Formalise user session cache.

Added Jelly options to Global Configuration.  User cache is disabled by default.  Ticket Minimum life is set to 30 minutes. JENKINS-60141
#13 27442 Paul Allen Added global - hide Server messages option.
JENKINS-59750
#12 26860 Paul Allen Global option to include changes since last successful build.

 JENKINS-64030
#11 25826 Paul Allen Global option to limit change query.

By default 'Head change query limit' is set to 0 (no limit) and the plugin will query all changes when looking within a workspace view. 

For large servers set the value to a range based on commit rate and job queue duration. e.g. 200 global commits/hour and jobs are queued for no longer than 10 hours, so 2000 change query limit (200*10).

JENKINS-58116
JENKINS-57870
#10 23645 Paul Allen Use DEFAULT_FILE_LIMIT if max file limit is set to 0.

JENKINS-49633
#9 23239 Paul Allen Add configuration parameter for choosing whether to allow auto-submission of config changes to perforce.

This can avoid creating floods of changelists at the cost of requiring a manual changelist submit. A scheduled task may be alleviate the need to manually submit the updated changes while still reducing the number of changelists created.

@Tsaukpaetra

https://swarm.workshop.perforce.com/reviews/23186
#8 22128 Paul Allen Helix Graph support for Jenkins.

JENKINS-40354
#7 20818 Paul Allen Global limits for changes and files.

Max number of change lists to show for a build (default 10)
Max number of files to list in a change (default 50)
#6 19519 Paul Allen Jelly header update.

<?jelly escape-by-default='true'?>
#5 19454 Paul Allen Hide P4_TICKET for secure systems.

An option in the global configuration to hide the P4_TICKET variable (not set by default).

JENKINS-24591
#4 17263 Paul Allen Added enable/disable option for auto versioning.

Global option to activate Perforce versioning of Jenkins Configurations.
#3 16836 Paul Allen Versioning for Jenkins configuration pages.

Add credential, depot path location and client workspace name, everything else should be automatic.
JENKINS-25145
#2 16820 Paul Allen Delete client workspace and files on a delete Jenkins Job

Global Perforce options for delete files and/or delete client.
JENKINS-32454
#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/PerforceScm/global.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/PerforceScm/global.jelly
#3 8612 Paul Allen Job can now select and save/load Credential choice (some cleanup TODO)
#2 8611 Paul Allen Basic implementation of Credentials Store
#1 8598 Paul Allen Experimentation with data binding for Jelly files and ExtensionPoint/Descriptor