Hey,
I have a question.
I created a job with this sample script:
**************
#!/bin/bash
trap "echo 'User has aborted this script'" TERM
result=0
for i in {0..1000..20}
do
result=$(($result + 1))
echo $result ...
sleep 1
done
echo "Result is $result"
**************
When I start this script and abort the job, I only sometimes get the
message 'User has aborted this script'. Why only sometimes?
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/CAO5HUhOR6nNzfE8xQ76J2AFkkJrtRjSdp02Qi9MXXkMBP6K5RA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.