From c3406e04c34737e081832b8b27ef54b70d749738 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 2 Jun 2015 15:50:49 +0200 Subject: drop crappy tests which were trying to make sure triggers are set correctly. much better to create proper job-cfg/*yaml in the first place --- update_jdn.sh | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/update_jdn.sh b/update_jdn.sh index af574fd0..ddee8478 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -281,21 +281,6 @@ done explain "Jenkins jobs updated." rm -f $TMPFILE -# -# crappy tests for checking that jenkins-job-builder works correctly -# -#wc -m counts one byte too many, so we substract one -let DEFINED_MY_TRIGGERS=$(grep -v \# *.yaml | grep my_trigger: | grep -v "my_trigger: ''"|wc -l)+$(grep my_trigger: *.yaml|grep , |xargs -r echo | sed 's/[^,]//g'| wc -m)-1 -let DEFINED_DI_TRIGGERS=$(grep "defaults: d-i-manual-html" d-i.yaml|wc -l) -#DEFINED_REPRODUCIBLE_TRIGGERS=$(grep "^ defaults: reproducible$" reproducible.yaml|wc -l) -let DEFINED_TRIGGERS=DEFINED_MY_TRIGGERS+DEFINED_DI_TRIGGERS -#let DEFINED_TRIGGERS=DEFINED_TRIGGERS+DEFINED_REPRODUCIBLE_TRIGGERS -let CONFIGURED_TRIGGERS=$(grep \