Skip to content

Commit

Permalink
run ansible-lint inside cdt-installer
Browse files Browse the repository at this point in the history
  • Loading branch information
Onur committed May 7, 2019
1 parent a75c61a commit e671bca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Jenkinsfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ pipeline {
stages {
stage('run cdt-installer'){
steps {
sh "ansible-lint -p site.yml"
withCredentials([sshUserPrivateKey(credentialsId: "devopswise", keyFileVariable: 'keyfile')]) {
sh "ssh -o StrictHostKeyChecking=no -i ${keyfile} root@192.168.0.46 revert-xen-vm-to-latest-snapshot.sh ${CDT_TARGET_VM}"
}
Expand All @@ -42,7 +41,7 @@ pipeline {
-e PEM_FILE=/opt/cdt/dwtools.pem \
-e DEBUG="-vv" \
-v /opt/source/cdt-test/local:/opt/cdt \
devopswise/cdt-installer:latest "cdt --launch" '''
devopswise/cdt-installer:latest "ansible-lint -p /opt/cdt/${CDT_BRANCH}/site.yml && cdt --launch" '''
}
}
}
Expand Down

0 comments on commit e671bca

Please sign in to comment.