Kill and restart Jenkins task in a job without failure -
is there way kill , restart jenkins slave task in job without failure? if directly, job fails because connection lost.
i need refresh path environment variable after job changes it.
i don't know how changing path variable, jenkins subtasks in own shell...
so export path=$path:/custom/bin
have live of jenkins task , not whole job , not future jobs
if editing like: /etc/bashrc
stop that...
you can source custom script if changing bunch of stuff @ top of task, like:
source ./some/file/that/exports/path appdefinedincustompath -s dothings
Comments
Post a Comment