Solution found. See on stackoverflow link. 2014. szeptember 3., szerda 10:43:23 UTC+2 időpontban Gábor Lipták a következőt írta: > > As far as I understand it Jenkins generates a BUILD_ID. At the end of the > job it iterates the processes, and if any has a matching BUILD_ID, it will > be terminated. Do I understand it wrong? If not, then I do exactly what I > should do, don't I? > > 2014. szeptember 3., szerda 10:40:51 UTC+2 időpontban > [email protected] a következőt írta: >> >> 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.
