Change 23373

paul_allen (Paul Allen)
Paul Allen committed this change into //guest/perforce_software/p4jenkins/main/src under Review 23255
View Review
Download .zip
Lightweight checkout support.

Implementation for scm-api classes SCMFile and SCMFileSystem, allowing Jenkins to navigate Perforce within the scope of a workspace view.

Lightweight checkout uses a tempoary Perforce workspace to naviagete and fetch the files.  The client name and client view mapping will be modified from a template name e.g. jenkins-${NODE_NAME}-${JOB_NAME} to the tempoary name jenkinsTemp-UUID.  Alternativly if a user as used ${P4_CLIENT} in the client mapping this will remain unchanged and will be get expanded during the job run.

JENKINS-45999
JENKINS-46269
  • Files 7
  • Comments 0
4 edited 3 added 0 deleted
main/java/org/jenkinsci/plugins/p4/client/NavigateHelper.java#3
Loading...
main/java/org/jenkinsci/plugins/p4/client/TempClientHelper.java#2
Loading...
main/java/org/jenkinsci/plugins/p4/scm/AbstractP4ScmSource.java#15
Loading...
main/java/org/jenkinsci/plugins/p4/scm/BranchesScmSource.java#15
Loading...
main/java/org/jenkinsci/plugins/p4/scm/P4SCMFile.java#1
Loading...
main/java/org/jenkinsci/plugins/p4/scm/P4SCMFileSystem.java#1
Loading...
test/java/org/jenkinsci/plugins/p4/scm/P4SCMFileSystemTest.java#1
Loading...
Tip: Use n and p to cycle through the changes.