modification v2 jenkins

This commit is contained in:
Jazze7 2024-11-06 10:52:35 +05:30
parent 1ed6207275
commit 36888b453d

3
Jenkinsfile vendored
View File

@ -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') {