1
0
Fork 0

ci: Use SSH agent and accept host key

Dustin 2018-07-26 18:34:20 -05:00
parent 8557b8b05a
commit 2baa7f12e3
1 changed files with 4 additions and 1 deletions

5
ci/Jenkinsfile vendored
View File

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