gvalkov / jenkins-autojobs

Automatically create Jenkins jobs from template jobs and branches in a SCM repository
http://jenkins-autojobs.rtfd.org
Other
49 stars 39 forks source link

Cleanup old jobs #7

Closed timmipetit closed 10 years ago

timmipetit commented 10 years ago

Hey, I wrote functionality to remove jobs for branches that don't exist anymore. We push a lot of feature branches to Jenkins, and would like to have them cleaned up when they get merged into dev.

I'm currently appending some information to the config.xml ('createdByJenkinsAutojobs'), so that it only removes jobs that were created by jenkins-autojobs.

gvalkov commented 10 years ago

Thank you for implementing this awesome feature. I just added tests and changed the output format a little bit. I think I'll also end up adding a cleanup-exclude when I get some more time for github projects.

gvalkov commented 10 years ago

Btw, I pushed jenkins-autojobs 0.11.0 to PyPi.

timmipetit commented 10 years ago

Nice, and thanks for the cleanups and tests :+1: