|
@ -18,7 +18,7 @@ pipeline { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
stage("Deploy React App") { |
|
|
stage("Deploy React App") { |
|
|
when { expression { false } } |
|
|
|
|
|
|
|
|
when { expression { true } } |
|
|
steps { |
|
|
steps { |
|
|
withCredentials([sshUserPrivateKey(credentialsId: 'docker-ssh', keyFileVariable: 'SSH_KEY')]) { |
|
|
withCredentials([sshUserPrivateKey(credentialsId: 'docker-ssh', keyFileVariable: 'SSH_KEY')]) { |
|
|
bat ''' |
|
|
bat ''' |
|
|