Fix Jenkins Credentials 05/14705/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Tue, 26 Feb 2019 23:34:20 +0000 (15:34 -0800)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Tue, 26 Feb 2019 23:44:49 +0000 (15:44 -0800)
commit540e5f5c19bcee3ca0a5a20c37f4015750c24db9
treeefbb5edfae38a828a1fd9143521559388f0efe90
parenta11df3059f405a1c936bca7c46d16d95c34ea513
Fix Jenkins Credentials

The new version of Jenkins no longer allows SSH credentials to come from
the master filesystem, so instead they are uploaded using the
jenkins-cli.jar.

An initial credential setting is created when Jenkins starts with the
private key added later.

Change-Id: Id4e80625cca06a5047f592c58ee6bae1b698228a
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
init/Dockerfile
init/playbooks/site.yaml
init/playbooks/tasks/jenkins.yaml
init/playbooks/templates/jenkins-credentials.xml [new file with mode: 0644]
init/playbooks/vars/default.yaml
jenkins/scripts/20_create-jenkins-agent.groovy