ci: Use SSH agent and accept host key
parent
8557b8b05a
commit
b701281679
|
@ -13,8 +13,11 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage('Publish') {
|
stage('Publish') {
|
||||||
steps {
|
steps {
|
||||||
|
sshagent(['jenkins-web']) {
|
||||||
|
sh "ssh -oStrictHostKeyChecking=no ${PUBLISH_USER}@${PUBLISH_HOST} :"
|
||||||
sh '. ci/publish.sh'
|
sh '. ci/publish.sh'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue