*Possible workarounds:* # Replace contents of Jenkinsfile with a simple non instruction so that no real build is performed. # Remove all access to the branch for the Jenkins user through Perforce protections. # JENKINS-47066 # If using pipleline you can use the 'ws' directive: {code:java} stage("SyncMyWorkspace") { steps { ws('/var/lib/jenkins/XXXXX/KarlTest/') { p4sync charset: 'none', credential: 'JenkinsMasterAdminUser', format: 'jenkins-${NODE_NAME}-${JOB_NAME}', populate: autoClean(delete: true, modtime: false, parallel: [enable: false, minbytes: '1024', minfiles: '1', threads: '4'], pin: '', quiet: true, replace: true, tidy: false), source: depotSource('//depot/test/...') echo "DONE" } } } {code}
|
|
|