1
0
Fork 0

ci: Use SSH agent and accept host key

Dustin 2018-07-26 18:34:20 -05:00
parent e1df8d201c
commit 004a181b6a
1 changed files with 4 additions and 1 deletions

5
ci/Jenkinsfile vendored
View File

@ -9,7 +9,10 @@ pipeline {
stages { stages {
stage('Publish') { stage('Publish') {
steps { steps {
sh '. ci/publish.sh' sshagent(['jenkins-web']) {
sh "ssh -oStrictHostKeyChecking=no ${PUBLISH_USER}@${PUBLISH_HOST} :"
sh '. ci/publish.sh'
}
} }
} }
} }