Created
July 31, 2015 07:57
-
-
Save rodrigozrusso/5804e9c31a8e7d672bab to your computer and use it in GitHub Desktop.
Find jobs has the same job configured as template with ProxyBuilder plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /var/lib/jenkins/jobs; | |
for i in `find . -name "config.xml" | grep -v backup_config | xargs grep -i "hudson.plugins.templateproject.ProxyBuilder" | cut -d ":" -f 1`; do echo $i; job=`echo $i|cut -d "/" -f 2`; echo "job=$job"; cat $i | grep -i projectname | grep $job;done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment