modification v2 jenkins
This commit is contained in:
parent
1ed6207275
commit
36888b453d
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -16,6 +16,7 @@ pipeline {
|
|||||||
script {
|
script {
|
||||||
sshagent(credentials: [SSH_CREDENTIALS]) {
|
sshagent(credentials: [SSH_CREDENTIALS]) {
|
||||||
sh '''
|
sh '''
|
||||||
|
mkdir -p ~/.ssh
|
||||||
ssh-keyscan -H 160.187.166.47 >> ~/.ssh/known_hosts
|
ssh-keyscan -H 160.187.166.47 >> ~/.ssh/known_hosts
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user