commit | d0eed1c43261c1f11323a0ccf5fc62eaa8548d69 | [log] [tgz] |
---|---|---|
author | Nicolas De loof <nicolas.deloof@gmail.com> | Tue Mar 17 14:59:35 2015 +0100 |
committer | Nicolas De loof <nicolas.deloof@gmail.com> | Tue Mar 17 14:59:35 2015 +0100 |
tree | 3a802184463b01ee9151ac64830f0706b1104357 | |
parent | c2d2172fd26356b502b6535a9f25ff897e95d572 [diff] | |
parent | dddb965c1577ebe9862fb5010f0ad75f1ea883fb [diff] |
Merge pull request #58 from pinguinkiste/improve-plugins-list Ignore comments and empty lines in plugins file
diff --git a/plugins.sh b/plugins.sh index f4193b3..df060b3 100755 --- a/plugins.sh +++ b/plugins.sh
@@ -13,5 +13,7 @@ while read spec; do plugin=(${spec//:/ }); + [[ ${plugin[0]} =~ ^# ]] && continue + [[ ${plugin[0]} =~ ^\s*$ ]] && continue curl -L ${JENKINS_UC}/download/plugins/${plugin[0]}/${plugin[1]}/${plugin[0]}.hpi -o $REF/${plugin[0]}.hpi; done < $1