config.jelly #5

  • //
  • guest/
  • perforce_software/
  • p4jenkins/
  • main/
  • src/
  • main/
  • resources/
  • org/
  • jenkinsci/
  • plugins/
  • p4/
  • workflow/
  • P4UnshelveStep/
  • config.jelly
  • View
  • Commits
  • Open Download .zip Download (831 B)
<?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:entry title="Perforce Credentials" field="credential">
    	<c:select/>
    </f:entry>

   	<f:entry title="Workspace behaviour">
   		<f:dropdownDescriptorSelector field="workspace"/>
    </f:entry>

	<f:entry title="Unshelve Changelist" field="shelf">
		<f:textbox />
	</f:entry>

	<f:entry field="resolve" title="Resolve Options">
		<f:select />
	</f:entry>

	<f:entry field="tidy">
		<f:checkbox title="${%Clean up Review actions}" default="false"/>
	</f:entry>

	<f:entry field="ignoreEmpty">
		<f:checkbox title="Ignore this step if ChangeList value not set." default="false"/>
	</f:entry>
	
</j:jelly>
# Change User Description Committed
#5 22859 Paul Allen Missing changes from #54
#4 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
#3 20246 Paul Allen Convert merge options for unshelve to ListBoxModel Option (from basic jelly)

@atiniir
#2 19519 Paul Allen Jelly header update.

<?jelly escape-by-default='true'?>
#1 16529 Paul Allen DSL for Unshelve task.

DSL example:
    p4unshelve resolve: 'at', shelf: '10831'