38dc7680c9
- Removed http_proxy option - Added sudoers entry to cp first-bot.d - Fixed typo on 11-jenkins-plugins - Restored trap exit on run-parts
14 lines
322 B
Bash
Executable File
14 lines
322 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -o xtrace
|
|
|
|
source $(dirname $0)/defaults
|
|
|
|
if [ -n "${JENKINS_PLUGINS}" ];then
|
|
for plugin in ${JENKINS_PLUGINS//,/ }; do
|
|
wget -q http://updates.jenkins-ci.org/latest/${plugin}.hpi -O /var/lib/jenkins/plugins/${plugin}.hpi
|
|
done
|
|
chown jenkins:nogroup /var/lib/jenkins/plugins/*
|
|
fi
|