hudson - Jenkins - cleanup after job -


i have couple of unit testing / bdd jobs on our jenkins instance trigger bunch of processes run. have multiple windows slaves, 1 of can run tests.

after text execution complete, irrespective of build status passed/failed/unstable, want run "taskkill" , kill couple of processes.

i had been doing earlier triggering "test_janitor" downstream job - approach doesn't work anymore since added more 1 slave.

how can either run downstream job on same slave upstream, or have sort of post build step run "taskkill".

you can install post build task plugin call batch script on slave (when ut/bdd completed).

the other solution call downstream job , pass %node_name% variable job parameterized trigger plugin.

next, can use psexec kill processes on relevant node.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -