diff options
author | Holger Levsen <holger@layer-acht.org> | 2012-11-08 10:18:59 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2012-11-08 10:18:59 +0100 |
commit | 134733629ba1d13022513ebffc8c536e4fc1d8b7 (patch) | |
tree | bfd8397d4ece940ac95e3d20f7622cdb1a811c8c | |
parent | f708025fb4462aa39b7c82fc12284c6aaa289a3a (diff) | |
download | jenkins.debian.net-134733629ba1d13022513ebffc8c536e4fc1d8b7.tar.xz |
fixup: fixup: fixup: add tests to check if triggers are configured correctly
-rwxr-xr-x | update_jdn.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update_jdn.sh b/update_jdn.sh index 2d31a523..1ceffff0 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -68,7 +68,7 @@ explain "Jenkins jobs updated." # # crappy tests for checking that jenkins-job-builder works correctly # -DEFINED_TRIGGERS=$(grep -c _trigger: *.yaml) +DEFINED_TRIGGERS=$(grep _trigger: *.yaml|wc -l) CONFIGURED_TRIGGERS=$(grep -C 1 \<hudson.tasks.BuildTrigger /var/lib/jenkins/jobs/*/config.xml|grep child|wc -l) if [ "$DEFINED_TRIGGERS" != "$CONFIGURED_TRIGGERS" ] ; then figlet Warning |