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

customWorkspace did not stay with specified path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • pipeline
    • None

      Pipeline code:

      pipeline {
        agent { node {
          label 'my_computer'
         customWorkspace 'C:\my_folder'
        } }
       ....
      }  
      

       
      If I ran this pipeline concurrently on the same agent machine (same time):

      Build#1 get C:\my_folder

      Build#2 get C:\my_folder@2

       

      Base on the documentation of customWorkspace, I would understand that both build#1 and build#2 would use C:\my_folder instead. 

            Unassigned Unassigned
            nhatkhai NhatKhai Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: