mirror of
https://github.com/ghndrx/docker-test-image.git
synced 2026-02-10 06:45:05 +00:00
s
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -2,7 +2,7 @@ pipeline {
|
||||
agent any
|
||||
environment {
|
||||
DOCKERHUB_CREDENTIALS=credentials('dockerhub-cred')
|
||||
SSH_CREDENTIALS=credentials('SSH-CREDENTIALS')
|
||||
SSH_CREDENTIALS=credentials('ssh-credentials')
|
||||
}
|
||||
|
||||
stages {
|
||||
@@ -30,8 +30,8 @@ pipeline {
|
||||
def remote = [:]
|
||||
remote.name = 'ubuntu-kc'
|
||||
remote.host = '172.16.11.90'
|
||||
remote.user = "${SSH_CREDENTIALS_USR}"
|
||||
remote.password = "${SSH_CREDENTIALS_PSW}"
|
||||
remote.user = "${SSH_CREDENTIALS_USR}"
|
||||
remote.password = "${SSH_CREDENTIALS_PSW}"
|
||||
remote.allowAnyHosts = true
|
||||
|
||||
writeFile file: 'run-pull-deploy.sh', text: '''
|
||||
|
||||
Reference in New Issue
Block a user