diff --git a/Jenkinsfile b/Jenkinsfile index 4e31693..1e3ba12 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' ''' } }