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

running linux type dockerNode under windows node section causes failure due to workspace ambiguity

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • docker-plugin
    • jenkins 2.249.1
      docker plugin 1.2.1

      we have to following code:

      node(some_windows_machine_label)
      {
         dockerNode('some_linux_image')
         {
             // here we perform git checkout using the checkout method.
         }
      }
      
      

      running the above code using version 1.2.0 of docker plugin works fine, and running it using the new version (1.2.1) fails due to some workspace ambiguity (suddenly the dockerNode is aware of the windows node workspace..

       

      moving the dockerNode section outside the node section works perfectly, but it costs us a lot to change all the scripts we already have...

      I'll try to provide logs with the error.

      I don't see any reason for this change of behavior...

       

            Unassigned Unassigned
            amidar Amit Dar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: