fcf68d1c18
- Install list of plugins - Use an http service as proxy on port 80 - Only nginx for now
14 lines
346 B
Plaintext
Executable File
14 lines
346 B
Plaintext
Executable File
B11;rgb:0000/0000/0000#!/bin/bash
|
|
|
|
set -e
|
|
set -o xtrace
|
|
|
|
source $(dirname $0)/defaults
|
|
|
|
if [ -n "${JENKINS_PLUGINS}" ];then
|
|
for plugin in ${JENKINS_PLUGINS//,/ }; then
|
|
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
|