I use jenkins for my countinuous integration testing + possibility of starting manual checks.
My utilization is a job that :
- Poll mercurial repo every 10 mn
- Once a commit is done, start a generation (clone + make)
- Launch a python suite test script
- Gather result
Sometimes I want to be able to gracefully stop a job without using the "stop" button that simply aborts the test. I managed to do it using a trick that check the presence of a file in the log directory used by the Python test suite
But I'm looking for a way to do it inside jenkins job itself.
Is there a way to have a customizable button for that purpose ? I tried "batch task" plugin that would have been perfect BUT it waits for the python script to complete before execution ... So useless in my case (but the code works)
Thanks in advance for your help