Loading Jenkinsfile +16 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,22 @@ pipeline { } } } stage('Deploy') { steps { withCredentials([usernamePassword(credentialsId: 'SSH_VM_MentorArc', passwordVariable: 'SSH_VM_PASS', usernameVariable: 'SSH_VM_USER')]) { } def remote = [:] remote.name = 'MENTORARC-VM' remote.host = '157.26.83.81' remote.user = ${SSH_VM_USER} remote.password = ${SSH_VM_PASS} remote.allowAnyHosts = true sshCommand remote: remote, command: "ls -lrt" sshCommand remote: remote, command: "for i in {1..5}; do echo -n \"Loop \$i \"; date ; sleep 1; done" } } // stage ('Performance') { // octoPerfTest credentialsId: 'XXXXXX-XXX-XXX-XXXX', scenarioId: 'XXXXXXX' // } Loading Loading
Jenkinsfile +16 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,22 @@ pipeline { } } } stage('Deploy') { steps { withCredentials([usernamePassword(credentialsId: 'SSH_VM_MentorArc', passwordVariable: 'SSH_VM_PASS', usernameVariable: 'SSH_VM_USER')]) { } def remote = [:] remote.name = 'MENTORARC-VM' remote.host = '157.26.83.81' remote.user = ${SSH_VM_USER} remote.password = ${SSH_VM_PASS} remote.allowAnyHosts = true sshCommand remote: remote, command: "ls -lrt" sshCommand remote: remote, command: "for i in {1..5}; do echo -n \"Loop \$i \"; date ; sleep 1; done" } } // stage ('Performance') { // octoPerfTest credentialsId: 'XXXXXX-XXX-XXX-XXXX', scenarioId: 'XXXXXXX' // } Loading