Update 'Jenkinsfile'

feature/reliability_stat
CIzz22 1 year ago
parent fc522d35b1
commit 8673b85c55

7
Jenkinsfile vendored

@ -11,8 +11,11 @@ pipeline {
steps {
sshagent(['backend-server-digitaltwin']) { // Use the credential ID you created
sh '''
# Test SSH connection
ssh -o StrictHostKeyChecking=no ${SERVER_USER}@${SERVER_IP} 'echo "SSH Connection Successful!" && hostname && date'
# 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