Update Jenkinsfile

This commit is contained in:
William
2018-12-05 09:29:01 +11:00
committed by GitHub
parent 26e8cfd805
commit 67a4952dfd

6
Jenkinsfile vendored
View File

@@ -13,8 +13,10 @@ git checkout $BRANCH'''
}
}
stage('Build') {
sshagent (credentials: ['willb']) {
sh 'ssh -o StrictHostKeyChecking=no 172.17.0.1 echo hi'
steps {
sshagent (credentials: ['willb']) {
sh 'ssh -o StrictHostKeyChecking=no 172.17.0.1 echo hi'
}
}
}
}