Update 'Jenkinsfile'

main
CIzz22 1 year ago
parent 772964334e
commit e65db2e3cd

7
Jenkinsfile vendored

@ -11,8 +11,11 @@ pipeline {
steps {
sshagent(['backend-server-digitaltwin']) { // Use the credential ID you created
sh '''
# Extract public key from agent
ssh-add -L
# Print SSH key info
ssh-add -l
# Try verbose SSH connection
ssh -v -o StrictHostKeyChecking=no aimo@192.168.1.82 'echo test'
'''
}
}

Loading…
Cancel
Save