My guess is that ant.env(key:'BUILD_ID',value:'DO_NOT_STOP_MY_PROCESS_JENKINS') sets the environment variable in the spawned process, but not in the parent (Jenkins). That value needs to be visible to the Jenkins process.
Matthew Webber ---- From: Gábor Lipták [mailto:[email protected]] Sent: 03 September 2014 09:37 To: [email protected] Subject: Fwd: Spawning process in a job seems to be non working Hi, Could anyone give me a hint, how to fix this: http://stackoverflow.com/q/25639678/337621 Thanks, Gábor Lipták -- 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]. For more options, visit https://groups.google.com/d/optout.
