Do credentials.xml ourselves. JENKINS, STOP AUTOMAGICALLY MESSING THINGS UP. KTHXBYE
This commit is contained in:
parent
3591ad4ac3
commit
b3764e1201
2 changed files with 27 additions and 4 deletions
|
@ -41,8 +41,7 @@ class="jenkins.model.ProjectNamingStrategy$DefaultProjectNamingStrategy"/>
|
||||||
plugin="ssh-slaves@0.21">
|
plugin="ssh-slaves@0.21">
|
||||||
<host>172.16.5.12</host>
|
<host>172.16.5.12</host>
|
||||||
<port>22</port>
|
<port>22</port>
|
||||||
<username>jenkins_slave</username>
|
<credentialsId>d844d352-af1d-466b-9fc9-cbb19348103a</credentialsId>
|
||||||
<privatekey>/var/tmp/jenkins_master_id_rsa</privatekey>
|
|
||||||
</launcher>
|
</launcher>
|
||||||
<label></label>
|
<label></label>
|
||||||
<nodeProperties/>
|
<nodeProperties/>
|
||||||
|
@ -58,8 +57,7 @@ class="jenkins.model.ProjectNamingStrategy$DefaultProjectNamingStrategy"/>
|
||||||
plugin="ssh-slaves@0.21">
|
plugin="ssh-slaves@0.21">
|
||||||
<host>172.16.5.10</host>
|
<host>172.16.5.10</host>
|
||||||
<port>22</port>
|
<port>22</port>
|
||||||
<username>jenkins_slave</username>
|
<credentialsId>950d5dd7-acb2-402a-8670-21f152d04928</credentialsId>
|
||||||
<privatekey>/var/tmp/jenkins_master_id_rsa</privatekey>
|
|
||||||
</launcher>
|
</launcher>
|
||||||
<label></label>
|
<label></label>
|
||||||
<nodeProperties/>
|
<nodeProperties/>
|
||||||
|
|
25
files/jenkins/master/credentials.xml
Normal file
25
files/jenkins/master/credentials.xml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<com.cloudbees.plugins.credentials.SystemCredentialsProvider plugin="credentials@1.4">
|
||||||
|
<credentials>
|
||||||
|
<com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey plugin="ssh-credentials@0.3">
|
||||||
|
<scope>SYSTEM</scope>
|
||||||
|
<id>d844d352-af1d-466b-9fc9-cbb19348103a</id>
|
||||||
|
<description>172.16.5.12</description>
|
||||||
|
<username>jenkins_slave</username>
|
||||||
|
<passphrase>bEcypl4niEJMODrtoQ7iCw==</passphrase>
|
||||||
|
<privateKeySource class="com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey$FileOnMasterPrivateKeySource">
|
||||||
|
<privateKeyFile>/var/tmp/jenkins_master_id_rsa</privateKeyFile>
|
||||||
|
</privateKeySource>
|
||||||
|
</com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey>
|
||||||
|
<com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey plugin="ssh-credentials@0.3">
|
||||||
|
<scope>SYSTEM</scope>
|
||||||
|
<id>950d5dd7-acb2-402a-8670-21f152d04928</id>
|
||||||
|
<description>172.16.5.10</description>
|
||||||
|
<username>jenkins_slave</username>
|
||||||
|
<passphrase>bEcypl4niEJMODrtoQ7iCw==</passphrase>
|
||||||
|
<privateKeySource class="com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey$FileOnMasterPrivateKeySource">
|
||||||
|
<privateKeyFile>/var/tmp/jenkins_master_id_rsa</privateKeyFile>
|
||||||
|
</privateKeySource>
|
||||||
|
</com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey>
|
||||||
|
</credentials>
|
||||||
|
</com.cloudbees.plugins.credentials.SystemCredentialsProvider>
|
Loading…
Add table
Add a link
Reference in a new issue