P4_PORT missing ssl: prefix

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: p4-plugin
    • Environment:
      1.10.11

      When using an SSL enabled credential the P4_PORT variable contains the correct host and port but does not display the SSL prefix so it cannot be used. For example:

      But in the job when we display P4_PORT:

      [SSL_Freestyle] $ /bin/sh -xe /tmp/jenkins9008466315547409153.sh
      + echo P4_PORT is 10.1.3.163:1866
      P4_PORT is 10.1.3.163:1866
      + echo P4_CLIENT is jenkins-master-SSL_Freestyle-1
      P4_CLIENT is jenkins-master-SSL_Freestyle-1
      Finished: SUCCESS
      

      Reproduction steps:

      (1) Setup an SSL enabled P4D server.

      (2) Create a credential for the SSL server in Jenkins.

      (3) Create a freestyle job that uses the credential. Add a build step that displays P4_PORT. For example on Linux:

      echo P4PORT is $P4_PORT

      (4) Run the job.

       

       

            Assignee:
            Paul Allen
            Reporter:
            Karl Wirth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: