commit | 75b17c48494d4987aa5c2ce7ad02820fda932ce4 | [log] [tgz] |
---|---|---|
author | Carlos Sanchez <carlos@apache.org> | Fri Sep 11 18:32:43 2015 +0200 |
committer | Carlos Sanchez <carlos@apache.org> | Fri Sep 11 18:32:43 2015 +0200 |
tree | 860533d54498d05e35825adfddc64321a7b9bbb4 | |
parent | c1fdb58e084466867de6aa73dca655e6e906c94a [diff] |
Issue #145 #146 Validate that plugins are zip files
diff --git a/plugins.sh b/plugins.sh index 3413ce4..ec8e8e5 100755 --- a/plugins.sh +++ b/plugins.sh
@@ -24,4 +24,5 @@ JENKINS_UC_DOWNLOAD=$JENKINS_UC/download fi curl -sSL -f ${JENKINS_UC_DOWNLOAD}/plugins/${plugin[0]}/${plugin[1]}/${plugin[0]}.hpi -o $REF/${plugin[0]}.jpi + unzip -qqt $REF/${plugin[0]}.jpi done < $1