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 termin
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őpontba
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:gabor.lip...@gmail.com]