Change 26096

paul_allen (Paul Allen)
Paul Allen committed this change into //guest/perforce_software/p4jenkins/main/src
Request Review
Download .zip
Merge pull request #108 from joel-f-brown/master

Credentials handling for Folders when using P4Groovy.
Use run to determine the credentials in GetP4Task, then pass the P4BaseCredentials instead of the credentials ID.
Now the P4Groovy getConnection() method uses the P4BaseCredentials instead of looking up the credentials from the active Jenkins instance.

JENKINS-58745 JENKINS-57314
  • Files 7
  • Comments 0
7 edited 0 added 0 deleted
main/java/org/jenkinsci/plugins/p4/credentials/P4InvalidCredentialException.java#2
Loading...
main/java/org/jenkinsci/plugins/p4/groovy/GetP4.java#5
Loading...
main/java/org/jenkinsci/plugins/p4/groovy/GetP4Task.java#4
Loading...
main/java/org/jenkinsci/plugins/p4/groovy/P4Groovy.java#13
Loading...
main/java/org/jenkinsci/plugins/p4/groovy/P4GroovyTask.java#4
Loading...
main/java/org/jenkinsci/plugins/p4/tasks/AbstractTask.java#33
Loading...
test/java/org/jenkinsci/plugins/p4/groovy/P4GroovyTest.java#2
Loading...
Tip: Use n and p to cycle through the changes.