-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
Trying to build my Java project using CloudBees' DEV@Cloud (cloud-hosted Jenkins). Repository is on Assembla (cloud-hosted Perforce). Build will be using a freestyle job.
The problem as far as I can see is that Assembla requires you to set P4HOST to a certain value, or else you cannot connect. I can connect to Perforce from my laptop so long as P4HOST is set. If it's not set, I get the same error as on CloudBees' build servers ('partner exited unexpectedly') - see attachment "console_cloudbees.txt"
I tried to workaround through 'Configure Jenkins' => 'Global properties' => 'Environment variables'. This gets me further for p4 commands in the shell script, but it doesn't seem to affect the Perforce plugin.
Please add a way to configure P4HOST (or indeed any arbitrary P4* variable) either through the Perforce plugin, or else just get the environment from global configuration.
For P4HOST specifically you can also do 'p4 -H <host> <command> [<args> ...]'