I am having an issue where P4 changes are not reported.
I have a different clients for the jenkinsfile checkout step, and for the SCM checkout within the pipeline (below). I only see changes reported (in the "Changes" page) from the jenkinsfile checkout, and not the checkout within the pipeline. This occurs even if I use "lightweight checkout" (in which case I see no changes at all).
If I don't use a jenkinsfile checkout, I can see the proper changes. *UPDATE* It seems this isn't working either. It only worked for the very first run, and now it doesn't seem to log changes...
I have tried forcing the syncID, as well but nothing has worked.
Pipeline Checkout:
checkout scm: perforce(
credential: 'p4_ticket',
populate: syncOnly(
force: false,
have: true,
modtime: false,
parallel: [enable: true, minbytes: '1024', minfiles: '1', threads: '4'],
pin: "",
quiet: false,
revert: true),
workspace: staticSpec(
charset: 'none',
name: "jenkins_${JOB_BASE_NAME}_${BUILD_NUMBER}",
pinHost: false),
),
changelog: true,
poll: true
The Workspace Name format of the Jenkinsfile checkout is:
jenkins-${JOB_NAME}-scripts