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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: p4-plugin
    • None
    • Environment:
      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.

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

              Created:
              Updated: