<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:textbox default="none"/> </f:entry> <f:entry title="${%Workspace name }" field="name"> <f:textbox id="id.name" onChange="updateWorkspaceSpec()" /> </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.line").value = json.line; document.getElementById("id.view").value = json.view; }); } </script> </j:jelly>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#6 | 9672 | Paul Allen | Refactor name from 'p4_client' to 'p4'. | ||
#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. |