removed ssh key adding and have it in template
This commit is contained in:
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@@ -155,16 +155,6 @@ for row in data.get('rows', []):
|
||||
}
|
||||
}
|
||||
|
||||
stage('Copy Jenkins SSH Key') {
|
||||
steps {
|
||||
script {
|
||||
sh """
|
||||
ssh-copy-id -i /var/lib/jenkins/.ssh/id_ed25519.pub -o StrictHostKeyChecking=no jenkins@${env.VM_IP}
|
||||
"""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Set Hostname') {
|
||||
steps {
|
||||
script {
|
||||
|
||||
Reference in New Issue
Block a user