windows - How to stop execution of selenium scripts that is continued to execute event after the jenkins job is aborted -
issue: i've started selenium scripts execution job jenkins when few of selenium scripts executed i've aborted job jenkins manually. but, selenium scripts continued running after aborted job
can 1 solution stop selenium scripts execution
if job aborted
can 1 suggest me windows command stop selenium scripts execution running continuosly
you can go "manage jenkins" > "script console" run script on server interrupt hanging thread.
get live threads running :
thread.getallstacktraces();
you can interupt thread hanged, running :
thread.getallstacktraces().keyset().each() { t -> if (t.getname()=="thread name" ) { t.interrupt(); }
}
Comments
Post a Comment