Create job to manage Jenkins Global Variables 34/8434/8
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 19 Jan 2018 00:24:56 +0000 (19:24 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 12 Feb 2018 15:38:22 +0000 (10:38 -0500)
commit1d1aaf33f079ee4f51dfce68e8f5592a649947ca
treefa43e8e4d94de672e30e3817f708a0638acf619c
parent757650c835599c0aa4fe62ed99f05eab324c6f37
Create job to manage Jenkins Global Variables

Parses a configuration file containing variable listings in the form
"KEY=value" one per line and creates the appropriate groovy
script to push these environment variables to Jenkins Global Config.

Configuration file is stored in
ci-management/jenkins-config/global-vars-SILO.sh

(Where silo is production | sandbox)

While JJB provided us a way to store job configuration in a git repo
we have never had a good way to manage global Jenkins configuration.
This patch enables us to manage one aspect, Global Environment
variables in the ci-management repository.

Issue: RELENG-753
Change-Id: I7d134950b25d469686cace2f79fd8c297727166c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
.jjb-test/lf-ci-jobs/jenkins-cfg-merge-full.yaml [new file with mode: 0644]
.jjb-test/lf-ci-jobs/jenkins-cfg-merge-minimal.yaml [new file with mode: 0644]
docs/jjb/lf-ci-jobs.rst
jenkins-admin/set_global_properties.groovy [new file with mode: 0644]
jjb/lf-ci-jobs.yaml
shell/jenkins-configure-global-vars.sh [new file with mode: 0644]