workspace mixup when 2 jobs running on 2 diff nodes at the same time

XMLWordPrintable

      we have 2Ā  pipelinesĀ that performs simple checkout on 2 different branches, scheduled to run at the same time on 2 different nodes every day, say Job-1 & Job-2

      sometimes we will get error like this, for example forĀ Job-1

      P4 Task: attempt: 1
      P4 Task: failed: com.perforce.p4java.exception.P4JavaException: com.perforce.p4java.exception.P4JavaException: hudson.AbortException: P4JAVA: Error(s):

      Path 'C:\Jenkins\workspace\Job-2/...' is not under client's root 'C:\Jenkins\workspace\Job-2.

      looks like some sort of race condition going on, it doesn't happen every time.Ā  any ideas?

      Ā 

            Assignee:
            Unassigned
            Reporter:
            Mei Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: