Use jenkins credentials store with d-g
on the new jenkins systems. Change-Id: I9d6c079abcc75cd0cf0acb3bcdad15be5a87ce28
This commit is contained in:
parent
6321e7b42f
commit
b4d1b7f3a2
@ -417,6 +417,7 @@ node 'devstack-launch01.slave.openstack.org' {
|
||||
jenkins_ssh_public_key => $openstack_project::jenkins_ssh_key,
|
||||
jenkins_ssh_private_key => hiera('jenkins_ssh_private_key_contents'),
|
||||
jenkins_server => 'jenkins01.openstack.org',
|
||||
jenkins_credentials_id => '8bcc2a78-0ce9-4383-aa14-039da7daf335',
|
||||
}
|
||||
}
|
||||
|
||||
@ -428,6 +429,7 @@ node 'devstack-launch02.slave.openstack.org' {
|
||||
jenkins_ssh_public_key => $openstack_project::jenkins_ssh_key,
|
||||
jenkins_ssh_private_key => hiera('jenkins_ssh_private_key_contents'),
|
||||
jenkins_server => 'jenkins02.openstack.org',
|
||||
jenkins_credentials_id => '8bcc2a78-0ce9-4383-aa14-039da7daf335',
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -20,6 +20,7 @@ class openstack_project::devstack_launch_slave (
|
||||
$jenkins_ssh_public_key,
|
||||
$jenkins_ssh_private_key,
|
||||
$jenkins_server,
|
||||
$jenkins_credentials_id = '',
|
||||
) {
|
||||
|
||||
class { 'openstack_project::slave':
|
||||
|
@ -2,3 +2,6 @@
|
||||
server=https://<%= jenkins_server %>
|
||||
user=<%= jenkins_api_user %>
|
||||
apikey=<%= jenkins_api_key %>
|
||||
<% if jenkins_credentials_id != "" -%>
|
||||
credentials_id=<%= jenkins_credentials_id %>
|
||||
<% end -%>
|
||||
|
Loading…
Reference in New Issue
Block a user