ci: Use SSH agent and accept host key
parent
8557b8b05a
commit
2baa7f12e3
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue