modification v2 jenkins
This commit is contained in:
parent
1ed6207275
commit
36888b453d
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -16,11 +16,12 @@ 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
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Checkout and Install Dependencies on Remote Server') {
|
stage('Checkout and Install Dependencies on Remote Server') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user