Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19699

No way to set P4HOST (for Assembla hosted repo)

XMLWordPrintable

      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.

            Unassigned Unassigned
            bgolding Ben Golding
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: