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

Provide light weight checkout functionality for perforce in pipeline jobs

    Details

    • Similar Issues:

      Description

      Provide a light weight check out functionality for perforce so that when initializing the job or running it will not check out whole code repo to master. When we hold a huge code base it take too much time to trigger the build jobs as it has to chekcout the whole repo on to master and configure from jenkinsfile and then it starts it's build process.

       

      Must work for streams.

        Attachments

          Issue Links

            Activity

            Hide
            p4paul Paul Allen added a comment -

            Ready for release.

            Please try build 146

            Show
            p4paul Paul Allen added a comment - Ready for release. Please try build 146
            Hide
            anttifm Antti Hirvonen added a comment -

            Excellent, will definitely try this as soon as possible!

            Show
            anttifm Antti Hirvonen added a comment - Excellent, will definitely try this as soon as possible!
            Hide
            p4paul Paul Allen added a comment -

            Released in 1.8.4

            Show
            p4paul Paul Allen added a comment - Released in 1.8.4
            Hide
            rg Russell Gallop added a comment -

            I'm trying to understand what this means: 

            The client name and client view mapping will be
            modified from a template name e.g. jenkins-${NODE_NAME}-${JOB_NAME} to
            the temporary 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.

            I would like it to mean that if I specify my own "Workspace name" and then use "${P4_CLIENT}" in "View Mappings", then it will use my workspace name instead of jenkinsTemp-UUID. That doesn't appear to work this way. View Mapping remains unchanged but "Workspace name gets replaced.

            This is annoying as it is creating (and not destroying) a large number of perforce workspaces which is bogging down our p4 server.

            Is this supposed to allow user override of the workspace name, if so then I believe that it doesn't do that (on version 1.8.10)?

            Show
            rg Russell Gallop added a comment - I'm trying to understand what this means:  The client name and client view mapping will be modified from a template name e.g. jenkins-${NODE_NAME}-${JOB_NAME} to the temporary 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. I would like it to mean that if I specify my own "Workspace name" and then use "${P4_CLIENT}" in "View Mappings", then it will use my workspace name instead of jenkinsTemp-UUID. That doesn't appear to work this way. View Mapping remains unchanged but "Workspace name gets replaced. This is annoying as it is creating (and not destroying) a large number of perforce workspaces which is bogging down our p4 server. Is this supposed to allow user override of the workspace name, if so then I believe that it doesn't do that (on version 1.8.10)?
            Hide
            p4paul Paul Allen added a comment -

            Hi Russel - I have open an new issue to track the changes to the lightweight checkout.

            JENKINS-54488

            Show
            p4paul Paul Allen added a comment - Hi Russel - I have open an new issue to track the changes to the lightweight checkout. JENKINS-54488

              People

              • Assignee:
                p4paul Paul Allen
                Reporter:
                karthik546 karthik paidi
              • Votes:
                4 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: