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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • p4-plugin
    • None
    • Jenkins 2.292 | P4 Plugin 1.11.5

      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.

            Unassigned Unassigned
            kyates Keith Yates
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: