From 2f9f338aa0ae02b2a28e7177ee8d3ddc59526c84 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 21 Feb 2015 13:41:06 +0100 Subject: calculate triggers: add more knowledge about the setup.... --- update_jdn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update_jdn.sh') diff --git a/update_jdn.sh b/update_jdn.sh index be98974c..eb8658f1 100755 --- a/update_jdn.sh +++ b/update_jdn.sh @@ -232,7 +232,7 @@ explain "Jenkins jobs updated." # #wc -m counts one byte too many, so we substract one let DEFINED_MY_TRIGGERS=$(grep my_trigger: *.yaml|grep -v "my_trigger: ''"|wc -l)+$(grep my_trigger: *.yaml|grep , |xargs -r echo | sed 's/[^,]//g'| wc -m)-1 -DEFINED_DI_TRIGGERS=$(grep "defaults: d-i-manual-html" d-i.yaml|wc -l) +let DEFINED_DI_TRIGGERS=$(grep "defaults: d-i-manual-html" d-i.yaml|wc -l)-5 # 5 need to be substracted because 5 d-i_manual_pdf jobs dont exist, yet their html pendants trigger them... #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 -- cgit v1.2.3-70-g09d2