Hi,

consider the following workflow:

//------------------------------
parallel Windows: {
  node('Windows') {
    env.TEST = "A Test"
    bat 'echo %TEST%'
  }
}, Linux: {
  node('Linux') {
    sh 'echo "$TEST"'
  }
}
//------------------------------

Both steps will echo "A Test". For me this is a show stopper as it is not possible to e.g. use env.PATH.

It also seems to be a race condition. Setting env.TEST in node "Linux" instead of node "Windows" will only echo "A Test" on Linux, but not on Windows.



Christoph



--
You received this message because you are subscribed to the Google Groups "Jenkins 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1491f63cf3ac8cc29245bde34ee9dde5%40kfpc.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to