Re: Jenkins Pipeline : How can I pass a map obtained from readProperties to withEnv ?

2017-07-12 Thread thomo5000
t; return key+'='+value } > withEnv(properties) -- View this message in context: http://jenkins-ci.361315.n4.nabble.com/Jenkins-Pipeline-How-can-I-pass-a-map-obtained-from-readProperties-to-withEnv-tp4861746p4900401.html Sent from the Jenkins users mailing list archive at Nabble.com. --

Jenkins Pipeline : How can I pass a map obtained from readProperties to withEnv ?

2016-11-30 Thread JL 6BerYeti
Dear All, I am trying to setup (many) environment variables for a set of stages within a pipeline by reading a property file and then passing the result to withEnv. As far as my understanding is correct, I thought that withEnv waits for a map, and readProperties returrns a map. So, I try this