Jenkins : delete workspace on slave too -


i have job configuration matrix perform build on 2 computer (master , slave). have "delete workspace before build starts" option checked on job.

unfortunately, workspace delete on "master" node, node main job (job launch job necessary cover configuration matrix) perform.

workspace on second node not delete.

i think it's jenkins error : because job has configuration matrix, there master job launch other job. "delete workspace before build starts" option apply master job. think option should apply matrix configuration job.

someone know if wrong ?

after investigation found out slaves workspaces not deleted "delete workspace before build starts" method, workspace can deleted on master method (added https://wiki.jenkins-ci.org/display/jenkins/workspace+cleanup+plugin).

the best option in case use script: https://gist.github.com/rb2k/8372402

good resource additional info regarding jenkins workspace deletion is: https://julienprog.wordpress.com/2016/04/14/clean-up-jenkins-workspaces/


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -