<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="Publish options"> <f:dropdownDescriptorSelector field="publish"/> </f:entry> </j:jelly>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 14892 | Sven Erik Knop |
Add p4publish as the last p4 step puzzle piece. Interesting snippet: node { p4sync credential: '634a31d2-bd60-4c39-bf84-b09f057c5431', template: 'jenkins' p4tag rawLabelDesc: 'Jenkins post-build label - from DSL!.', rawLabelName: 'jenkins-{BUILDTAG}' publisher = [$class: 'SubmitImpl', description: 'Submitted by Jenkins. Build: ${BUILD_TAG}', onlyOnSuccess: false, reopen: false] buildWorkspace = [$class: 'StreamWorkspaceImpl', charset: 'none', format: 'jenkins-${NODE_NAME}-${JOB_NAME}', pinHost: false, streamName: '//stream/main'] p4publish credential: '634a31d2-bd60-4c39-bf84-b09f057c5431', publish: publisher, workspace: buildWorkspace } Makes it easier to read. |