Skip to content

Commit

Permalink
Issue jenkinsci#145 jenkinsci#146 Validate that plugins are zip files
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossg committed Sep 11, 2015
1 parent c1fdb58 commit 75b17c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ while read spec || [ -n "$spec" ]; do
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

0 comments on commit 75b17c4

Please sign in to comment.