diff --git a/Jenkinsfile b/Jenkinsfile index 58233218e49f237c8f802f3468d7571cbc5ae173..f9af1ab3ecc0a6c6d62c09c1397585b99b93b36f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,8 +3,8 @@ pipeline { stages { stage('install') { steps { - sh 'virtualenv example' - sh '. example/bin/activate && pip install -r tests/requirements.txt' + sh 'git submodule update --init' + sh 'pip install -r tests/requirements.txt --user' 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' } @@ -12,7 +12,13 @@ pipeline { stage('test') { steps { sh '. example/bin/activate && pre-commit run --all-files' + // sh 'molecule test --platform all' } } } + post { + success { + sh 'ansible-galaxy import -v' + } + } }