-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
Jenkins: 2.32.2
p4-plugin: 1.5.1
Steps to reproduce:
- Create a job with P4 Plugin
- Add two parameters to the job
- changelist (leave default blank)
- depot_path //depot/some/path
- Set Manual View Mappings:
- ${depot_path}/... //${P4_CLIENT}/...
- Set pin build at perforce label:
- ${changelist}
- Check "Poll SCM":
- EG: H/2 * * * *
This build will run perfectly when running via "Build Now" But if you watch the Polling log you will see it continually fails with:
"Mapping 'depot_path/...' is not under '//depot'
If you change the View Mapping to a hard-coded depot path you will still see:
P4 Task: failed: com.perforce.p4java.exception.RequestException: Invalid changelist/client/label/date '@changelist'.