Revert "only run pylint on files that change"

This commit is contained in:
Daniel Wallace 2018-07-17 13:43:12 -05:00 committed by GitHub
parent 6e32bb7f74
commit bab4a769d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,13 +24,13 @@ pipeline {
parallel {
stage('salt linting') {
steps {
sh 'eval "$(pyenv init -)"; tox -e pylint-salt $(git diff --name-only "origin/$CHANGE_TARGET" "origin/$BRANCH_NAME" setup.py salt/*.py salt/**/*.py)| tee pylint-report.xml'
sh 'eval "$(pyenv init -)"; tox -e pylint-salt | tee pylint-report.xml'
archiveArtifacts artifacts: 'pylint-report.xml'
}
}
stage('test linting') {
steps {
sh 'eval "$(pyenv init -)"; tox -e pylint-tests $(git diff --name-only "origin/$CHANGE_TARGET" "origin/$BRANCH_NAME" tests/*.py tests/**/*.py)| tee pylint-report-tests.xml'
sh 'eval "$(pyenv init -)"; tox -e pylint-tests | tee pylint-report-tests.xml'
archiveArtifacts artifacts: 'pylint-report-tests.xml'
}
}