config.jelly #2

  • //
  • guest/
  • paul_allen/
  • dev/
  • p4-jenkins/
  • p4-client/
  • src/
  • main/
  • resources/
  • org/
  • jenkinsci/
  • plugins/
  • p4_client/
  • connection/
  • TicketConnection/
  • config.jelly
  • View
  • Commits
  • Open Download .zip Download (2 KB)
<?xml version='1.0' encoding='UTF-8' ?> 
<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">

<form action="addConnection" method="post">


	<f:entry title="P4PORT" field="port">
		<f:textbox checkUrl="'descriptorByName/TicketConnection/checkPort?value='+escape(this.value)"/>
	</f:entry>
	<f:entry title="Username" field="user">
		<f:textbox checkUrl="'descriptorByName/TicketConnection/checkUser?value='+escape(this.value)"/>
	</f:entry>
	
	<f:block>
		<f:radioBlock name="ticketMode" value="ticket" title="Generated ticket">
			<f:entry title="Ticket" field="ticket">
				<f:textbox />
				<i> For multiple notes generate ticket with 'p4 login -a' </i>
			</f:entry>		
		</f:radioBlock>
		
		<f:radioBlock name="ticketMode" value="path" title="P4TICKETS environment">
			<f:entry title="Path" field="p4tickets">
				<f:textbox />
				<i> Sets the build notes environment variable for P4TICKETS </i>
			</f:entry>
		</f:radioBlock>
	</f:block>

	<f:block>
		<f:optionalBlock name="unicode" title="Unicode Enabled">
			<f:entry title="P4CHARSET" field="charset">
				<f:textbox default="utf8" />
					
				<i>In Unicode mode, all non-file data (identifiers, descriptions,
					etc) and the content of files of type 'unicode' are translated
					between the character set configured on the client by P4CHARSET
					and UTF8 in the server."</i>
			</f:entry>
		</f:optionalBlock>
	</f:block>	 
	
	<f:entry>
		<f:submit value="Add"/>
	</f:entry>


</form>
	
</j:jelly>
# Change User Description Committed
#3 8660 Paul Allen Added P4TRUST for SSL connections in the Credentials plugin and ConnectionFactory.
#2 8611 Paul Allen Basic implementation of Credentials Store
#1 8598 Paul Allen Experimentation with data binding for Jelly files and ExtensionPoint/Descriptor