Status: Resolved (View Workflow)
Environment:OS: Ubuntu 18.04
P4 Plugin v
P4 Plugin v1.10.12
Jenkins master in container (image: jenkins/jenkins:2.222.1)
Jenkin slaves in container (image: jenkins/jnlp-slave:3.27-1)
Getting error message "must create client 'ip-10-21-2-84' to access local files".
It appears when the job is executed on the jenkins slave the P4 client is not being created. Does the p4 plugin create the workspace and manages the workspace view. Or does the p4 plugin require an additional setup that I might be missing.
- Job Configuration: Reference attached job config.xml
- Build log attached.
Note that I also tested the job on a jenkins slave that was not in a container. Got the same error. When I ran 'p4 client' and set-up the root and mapping, the jenkins job worked.