-
Bug
-
Resolution: Unresolved
-
Minor
-
None
streamAtSync option only work for new workspaces
Very simple to test
create a brand new workspace
checkout perforce(credential: 'some_credential', populate: autoClean(delete: true, modtime: false, parallel: [enable: false, minbytes: '1024', minfiles: '1', threads: '4'], pin: '', quiet: true, replace: true, tidy: false), workspace: streamSpec(charset: 'none', format: 'jenkins-${NODE_NAME}-${JOB_NAME}-${EXECUTOR_NUMBER}', pinHost: false, streamAtChange: '12356', streamName: '//Some stream'))
streamAtChange: '12356' is corrently set when looking at the workspace spec
ran a second time with no streamAtChange or a different value
the workspace is not changed
My previous pull request did have this fix, will see if a can do another pull request with the fixes in