Commit 2dc8d94c authored by nimrod's avatar nimrod
Browse files

- Added declarative jenkinsfile.

parent 6785200a
Loading
Loading
Loading
Loading

Jenkinsfile

0 → 100644
+17 −0
Original line number Diff line number Diff line
pipeline {
    agent any
    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'
            }
        }
        stage('test') {
            steps {
                sh 'pre-commit run --all-files'
            }
        }
    }
}