I am using Jenkinsfile and "Lightweight checkout" option is enabled. "checkout scm" is used in my Jenkinsfile. Unfortunately, I am unable to get the Perforce changes.
It is really weird, No changes or show 2 changes. I expected to see the 1 changelog populated by "checkout scm" during the build.
BTW: I have read the help note of "Lightweight checkout":
however, you will not get any changelogs or polling based on the SCM. (If you use checkout scm during the build, this will populate the changelog and initialize polling.)