This commit is contained in:
Gregory Hendrickson
2023-06-09 16:31:22 -07:00
parent c415322d1c
commit e9330c3a18

4
Jenkinsfile vendored
View File

@@ -27,7 +27,7 @@ pipeline {
stage('Pull and Deploy') {
steps {
withCredentials([
sshUserPrivateKey(credentialsId: 'ssh-cred', keyFileVariable: 'identity', passphraseVariable: '', usernameVariable: 'userName')
sshUserPrivateKey(credentialsId: 'ssh-cred', passwordVariable: 'password', usernameVariable: 'userName')
]) {
script {
def remote = [:]
@@ -35,7 +35,7 @@ pipeline {
remote.name = 'ubuntu-kc'
remote.host = '172.16.11.90'
remote.user = userName
remote.identityFile = identity
remote.password = password
writeFile file: 'run-pull-deploy.sh', text: '''
docker pull aisthanestha/docker-test-image:latest