In the P4Jenkins plugin, please add the functionality to "checkout to subdirectory" when defining either "Stream" or "View Mappings".
Customer would like to have the functionality to define a stream, and also have this stream checkout into a sub directory in the Jenkins workspace without having to fill in the "View Mappings" from a client spec by hand, with the directory present.
- duplicates
-
JENKINS-47005 Let user specify p4 workspace root in manual config
-
- Open
-
Hi dand
I think I'm going to link this request to JENKINS-47005 if that's acceptable.
Are you using Freestyle or pipeline jobs? In pipeline you can use the 'ws' directive as workaround. For example the following sets the root directory for the command in brackets to '/var/lib/jenkins/XXXXX/KarlTest':