Commit 74fd8a3e authored by Josh Steinberg's avatar Josh Steinberg

update file

parent 2c18179f
......@@ -9,7 +9,7 @@ pipeline {
NEXUS_URL = "10.20.3.15:8081"
NEXUS_REPOSITORY = "maven-nexus-repo-jenkins"
NEXUS_CREDENTIAL_ID = "nexus-jenkins"
REMOTE_AGENT = "35.192.10.103"
REMOTE_AGENT = "10.128.0.2"
USER = "azuredevops644"
}
stages {
......@@ -61,6 +61,8 @@ pipeline {
steps{
sshagent(credentials: ['ssh-cred']){
sh '''
[ -d ~/.ssh ] || mkdir ~/.ssh && chmod 0700 ~/.ssh
ssh-keyscan -t rsa,dsa ${REMOTE_AGENT} >> ~/.ssh/known_hosts
ssh ${USER}@${REMOTE_AGENT} "echo hell"
'''
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment