removed ssh key adding and have it in template

This commit is contained in:
2026-02-03 09:55:26 -05:00
parent 85c069bf38
commit ccb3ce0e71
2 changed files with 1 additions and 11 deletions

10
Jenkinsfile vendored
View File

@@ -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 {