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

Perforce plugin adds wrong environment variable to build environment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: perforce-plugin
    • Labels:
      None
    • Environment:
      Hudson 1.339
      Perforce plugin 1.0.16
      Perforce server 2007.2
    • Similar Issues:

      Description

      The Perforce plugin is adding the wrong variable to the build environment. It is adding PCLIENT, not P4CLIENT. Verfied using the following ant file checked into Perforce:

      <project default="env">
        <target name="env">
          <property environment="env" />
          <echoproperties />
        </target>
      </project>
      

      This outputs the following Perforce related variables:

      [echoproperties] env.P4PORT=sealperf01.na.tibco.com\:1666
      [echoproperties] env.P4USER=qpe5
      [echoproperties] env.P4_CHANGELIST=306267
      [echoproperties] env.PCLIENT=autointegrate
      

        Attachments

          Activity

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : rpetti Path: trunk/hudson/plugins/perforce/src/main/java/hudson/plugins/perforce/PerforceSCM.java https://hudson.dev.java.net/source/browse/hudson/trunk/hudson/plugins/perforce/src/main/java/hudson/plugins/perforce/PerforceSCM.java?view=diff&rev=26118&p1=trunk/hudson/plugins/perforce/src/main/java/hudson/plugins/perforce/PerforceSCM.java&p2=trunk/hudson/plugins/perforce/src/main/java/hudson/plugins/perforce/PerforceSCM.java&r1=26117&r2=26118 http://jenkins-ci.org/commit/26118 Log: [FIXED JENKINS-5317] changing 'PCLIENT' to 'P4CLIENT' in environment variables

            People

            • Assignee:
              Unassigned
              Reporter:
              bbassett Brian Bassett
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: