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

Using p4 groovy on depots that take longer than 5 minutes to sync see InterruptedException.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: p4-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.292 | P4 Plugin 1.11.5
    • Similar Issues:

      Description

      If you try doing any operations with p4 groovy that last longer than 5 minutes, jenkins kills the build as failure:

      Doing this for example on a very large depot that would result in more than 5 minutes of sync time causes the exception.

      def p4Object = p4(credential: credentialsId, workspace: workspace)
      p4Object.run('sync')
      

      Ideally this should behave the same as the normal checkout that occasionally gives back time to the thread so other things can process and does the normal "..tick.." messages to keep the process alive.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              kyates Keith Yates
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: