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

No way to set P4HOST (for Assembla hosted repo)

      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.

          [JENKINS-19699] No way to set P4HOST (for Assembla hosted repo)

          Ben Golding created issue -
          Rob Petti made changes -
          Assignee Original: Rob Petti [ rpetti ]
          Ben Golding made changes -
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 151216 ] New: JNJira + In-Review [ 177884 ]
          Jenkins IRC Bot made changes -
          Component/s New: p4-plugin [ 19224 ]
          Component/s Original: perforce-plugin [ 15506 ]

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

              Created:
              Updated: