Change 14892

sven_erik_knop (Sven Erik Knop)
Sven Erik Knop committed this change into //guest/sven_erik_knop/p4jenkins/src/main
Request Review
Download .zip
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.
  • Files 3
  • Comments 0
1 edited 2 added 0 deleted
java/org/jenkinsci/plugins/p4/asset/AssetNotifier.java#5
Loading...
java/org/jenkinsci/plugins/p4/workflow/P4PublishStep.java#1
Loading...
resources/org/jenkinsci/plugins/p4/workflow/P4PublishStep/config.jelly#1
Loading...
Tip: Use n and p to cycle through the changes.