Loading Jenkinsfile +5 −4 Original line number Diff line number Diff line Loading @@ -3,14 +3,15 @@ pipeline { stages { stage('install') { steps { sh 'pip install -r tests/requirements.txt' sh 'ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles' sh 'molecule dependency' sh 'virtualenv example' sh '. example/bin/activate && pip install -r tests/requirements.txt' sh '. example/bin/activate && ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles' sh '. example/bin/activate && molecule dependency' } } stage('test') { steps { sh 'pre-commit run --all-files' sh '. example/bin/activate && pre-commit run --all-files' } } } Loading Loading
Jenkinsfile +5 −4 Original line number Diff line number Diff line Loading @@ -3,14 +3,15 @@ pipeline { stages { stage('install') { steps { sh 'pip install -r tests/requirements.txt' sh 'ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles' sh 'molecule dependency' sh 'virtualenv example' sh '. example/bin/activate && pip install -r tests/requirements.txt' sh '. example/bin/activate && ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles' sh '. example/bin/activate && molecule dependency' } } stage('test') { steps { sh 'pre-commit run --all-files' sh '. example/bin/activate && pre-commit run --all-files' } } } Loading