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

P4 Plugin Quick clean option does not use P4TICKET when doing diffs and syncs

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Our P4 Server is configured to require tickets authentication and while the plugin uses tickets in almost all cases that is not true for the new "Quick Clean" option.

      Excerpt from logs:

      ...
      [Project] $ /usr/local/bin/p4 -d /Users/Shared/Jenkins/workspace/Project -x - have
      Workspace is clean.
      Restoring changed and deleted files...
      [Project] $ /usr/local/bin/p4 -d /Users/Shared/Jenkins/workspace/Project diff -se
      [Project] $ /usr/local/bin/p4 -d /Users/Shared/Jenkins/workspace/Project -x - sync -f
      Password not allowed at this server security level, use 'p4 login'.
      [Project] $ /usr/local/bin/p4 -d /Users/Shared/Jenkins/workspace/Project -x - sync -f
      [Project] $ /usr/local/bin/p4 -d /Users/Shared/Jenkins/workspace/Project diff -sd
      Password not allowed at this server security level, use 'p4 login'.
      Files restored.
      Clean complete, took 43767 ms.
      ...

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Rob Petti
          Path:
          src/main/java/hudson/plugins/perforce/PerforceSCM.java
          src/main/java/hudson/plugins/perforce/QuickCleaner.java
          src/main/java/hudson/plugins/perforce/QuickCleanerCall.java
          src/main/java/hudson/plugins/perforce/QuickRestoreCall.java
          http://jenkins-ci.org/commit/perforce-plugin/3b9bc38b61170641e350318e0b7a41cbefa63967
          Log:
          [FIXED JENKINS-15807] add ticket to quick clean calls when available

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Rob Petti Path: src/main/java/hudson/plugins/perforce/PerforceSCM.java src/main/java/hudson/plugins/perforce/QuickCleaner.java src/main/java/hudson/plugins/perforce/QuickCleanerCall.java src/main/java/hudson/plugins/perforce/QuickRestoreCall.java http://jenkins-ci.org/commit/perforce-plugin/3b9bc38b61170641e350318e0b7a41cbefa63967 Log: [FIXED JENKINS-15807] add ticket to quick clean calls when available

            People

            • Assignee:
              rpetti Rob Petti
              Reporter:
              digivampire Aleksandar Stevanovic
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: