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

perforce plugin exposing P4 ticket instead of P4 password in the environment

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I just realized that the new P4 plugin (1.1.10) is no longer exposing the P4 password in the environment and it does replace it with the P4 ticket got from the server.

      This does break my scripts because they were supposed to use the password and not the ticket.

        Attachments

          Activity

          Hide
          rpetti Rob Petti added a comment -

          I'm pretty sure they are interchangeable... You are right in any case; it's misleading that P4PASSWD might be set to anything other than the password, so I'll change it.

          I should also note that this has been this way ever since the "Expose password" option was added into the plugin, but it only ever supplies the ticket when one is available.

          Show
          rpetti Rob Petti added a comment - I'm pretty sure they are interchangeable... You are right in any case; it's misleading that P4PASSWD might be set to anything other than the password, so I'll change it. I should also note that this has been this way ever since the "Expose password" option was added into the plugin, but it only ever supplies the ticket when one is available.
          Hide
          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
          trunk/hudson/plugins/perforce/src/main/webapp/help/exposeP4Passwd.html
          http://jenkins-ci.org/commit/35863
          Log:
          [FIXED JENKINS-7757] make P4PASSWD env variable always be the password, and additionally set P4TICKET when the ticket is available

          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 trunk/hudson/plugins/perforce/src/main/webapp/help/exposeP4Passwd.html http://jenkins-ci.org/commit/35863 Log: [FIXED JENKINS-7757] make P4PASSWD env variable always be the password, and additionally set P4TICKET when the ticket is available

            People

            • Assignee:
              rpetti Rob Petti
              Reporter:
              ssbarnea Sorin Sbarnea
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: