This commit is contained in:
Gregory Hendrickson
2023-06-09 15:30:53 -07:00
parent 3090d8df5f
commit 716f0545ed

6
Jenkinsfile vendored
View File

@@ -2,7 +2,7 @@ pipeline {
agent any agent any
environment { environment {
DOCKERHUB_CREDENTIALS=credentials('dockerhub-cred') DOCKERHUB_CREDENTIALS=credentials('dockerhub-cred')
SSH_CREDENTIALS=credentials('SSH-CREDENTIALS') SSH_CREDENTIALS=credentials('ssh-credentials')
} }
stages { stages {
@@ -30,8 +30,8 @@ pipeline {
def remote = [:] def remote = [:]
remote.name = 'ubuntu-kc' remote.name = 'ubuntu-kc'
remote.host = '172.16.11.90' remote.host = '172.16.11.90'
remote.user = "${SSH_CREDENTIALS_USR}" remote.user = "${SSH_CREDENTIALS_USR}"
remote.password = "${SSH_CREDENTIALS_PSW}" remote.password = "${SSH_CREDENTIALS_PSW}"
remote.allowAnyHosts = true remote.allowAnyHosts = true
writeFile file: 'run-pull-deploy.sh', text: ''' writeFile file: 'run-pull-deploy.sh', text: '''