<?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"> <f:entry title="${%Character Set}" field="charset"> <f:select default="none"/> </f:entry> <f:entry title="${%Workspace name }" field="name"> <!--f:textbox id="id.name" onfocus="updateWorkspaceSpec()" onkeyup="updateWorkspaceSpec()" /--> <f:textbox default="${descriptor.defaultFormat}"/> </f:entry> <f:entry field="pinHost"> <f:checkbox title="${%Pin the workspace to the build host}" default="false"/> </f:entry> <!--f:entry field="cleanup"> <f:checkbox title="${%Delete the Perforce Client after checkout}" default="false"/> </f:entry--> <f:entry> <f:property field="spec" /> </f:entry> <script> function updateWorkspaceSpec() { var inst = <st:bind value="${instance}"/>; var name = document.getElementById("id.name").value; inst.getSpecJSON(name, function(t) { var json = t.responseObject(); document.getElementById("id.allwrite").checked = json.options.allwrite; document.getElementById("id.clobber").checked = json.options.clobber; document.getElementById("id.compress").checked = json.options.compress; document.getElementById("id.locked").checked = json.options.locked; document.getElementById("id.modtime").checked = json.options.modtime; document.getElementById("id.rmdir").checked = json.options.rmdir; document.getElementById("id.stream").value = json.stream; document.getElementById("id.line").value = json.line; document.getElementById("id.view").value = json.view; }); } </script> </j:jelly>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#7 | 24813 | Paul Allen |
Hide workspace cleanup feature until polling side effects are explored. The syntax generator will still show `cleanup: false`, allowing users to set it to 'true' if they want to try it out. |
||
#6 | 24777 | Paul Allen |
Global Library to use UUID for client name and delete after use. Add a new 'Delete the Perforce Client after checkout' option (for Manual clients) which normaly is false, but set to true for Global Library checkouts. JENKINS-50975 |
||
#5 | 19750 | Paul Allen | Add default workspace name to Manual Client. | ||
#4 | 19519 | Paul Allen |
Jelly header update. <?jelly escape-by-default='true'?> |
||
#3 | 11472 | Paul Allen |
Pin the Workspace to the build host. Added a check box under the Workspace configuration to allow Jenkins to Pin the workspace, by setting the Host field. The hostname is resolved from the Computer object or InetAddress. |
||
#2 | 11369 | Paul Allen |
Disable population of the Manual Workspace View. The JS code that runs on-click events was driving everyone mad, so I have disabled it for the time being. |
||
#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/workspace/ManualWorkspaceImpl/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/workspace/ManualWorkspaceImpl/config.jelly | |||||
#5 | 8769 | Paul Allen | Update to charset option for workspaces to use a drop-down select with a default of 'none'. | ||
#4 | 8756 | Paul Allen | Added Stream field to Manual Workspace config. | ||
#3 | 8755 | Paul Allen | JavaScript automation for populating Client workspace spec in Manual mode. | ||
#2 | 8749 | Paul Allen |
Split off Worksapce Spec from Manual Workspace configuration into a Property Jelly item. Plan to autoload values based on selected client. |
||
#1 | 8697 | Paul Allen |
Added Manual workspace option for user to define Options/LineEnd/View etc... in Jenkins. |