-
New Feature
-
Resolution: Won't Do
-
Minor
-
None
(This is sort of related to JENKINS-2947, but doesn't really belong there.)
The Perforce configuration for a job doesn't provide much flexibility if you want to run a job on various slaves.
The path to the executable means that the job becomes fixed to an OS (more or less), and doesn't allow for slaves configured with Perforce in a different location.
The P4PORT setting is also a problem (for me). We have slaves that run in various locations, each of which may have their own local p4 proxy which would be optimal. As it stands now, we have to choose one server that is the best compromise for all locations.
- depends on
-
JENKINS-2947 Perforce should factor out global configuration to the global page
-
- Open
-
- is related to
-
JENKINS-11369 Use ToolInstallation as replacement to p4 path specified in Jobs
-
- Resolved
-
To me, it looks like the easiest way to support this would be for the plugin to support using existing environment variables. P4PORT, P4USER, and P4PASSWD could be used from the environment if left empty in the job configuration. Make up an environment variable name for the application path, maybe? I don't know.