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