Prepare to run Ansible
This commit is contained in:
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@@ -14,9 +14,20 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
steps {
|
steps {
|
||||||
checkout([$class: 'GitSCM', branches: [[name: 'master']], extensions: [], userRemoteConfigs: [[credentialsId: 'tools-deploy-key', url: '_gitea@gitea.release11.com:R11/release11-tools.git']]])
|
checkout([
|
||||||
|
$class: 'GitSCM',
|
||||||
|
branches: [[name: 'master']],
|
||||||
|
extensions: [],
|
||||||
|
userRemoteConfigs: [[credentialsId: 'tools-deploy-key', url: '_gitea@gitea.release11.com:R11/release11-tools.git']]
|
||||||
|
])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Run Ansible playbook') {
|
||||||
|
sh '''
|
||||||
|
pwd
|
||||||
|
ls
|
||||||
|
'''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user