mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #50195 from damon-atkins/jenkins_pylint
Jenkins CI Lint capture additional info
This commit is contained in:
commit
4725acd4e0
3
.ci/lint
3
.ci/lint
@ -28,6 +28,7 @@ pipeline {
|
|||||||
# the -l increase the search limit, lets use awk so we do not need to repeat the search above.
|
# the -l increase the search limit, lets use awk so we do not need to repeat the search above.
|
||||||
gawk 'BEGIN {FS="\\t"} {if ($1 != "D") {print $NF}}' file-list-status.log > file-list-changed.log
|
gawk 'BEGIN {FS="\\t"} {if ($1 != "D") {print $NF}}' file-list-status.log > file-list-changed.log
|
||||||
gawk 'BEGIN {FS="\\t"} {if ($1 == "D") {print $NF}}' file-list-status.log > file-list-deleted.log
|
gawk 'BEGIN {FS="\\t"} {if ($1 == "D") {print $NF}}' file-list-status.log > file-list-deleted.log
|
||||||
|
(git diff --name-status -l99999 -C "origin/$CHANGE_TARGET";echo "---";git diff --name-status -l99999 -C "origin/$BRANCH_NAME";printenv|grep -E '=[0-9a-z]{40,}+$|COMMIT=|BRANCH') > file-list-experiment.log
|
||||||
touch pylint-report-salt.log pylint-report-tests.log
|
touch pylint-report-salt.log pylint-report-tests.log
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
pyenv --version
|
pyenv --version
|
||||||
@ -37,7 +38,7 @@ pipeline {
|
|||||||
python --version
|
python --version
|
||||||
pip install tox
|
pip install tox
|
||||||
'''
|
'''
|
||||||
archiveArtifacts artifacts: 'file-list-status.log,file-list-changed.log,file-list-deleted.log'
|
archiveArtifacts artifacts: 'file-list-status.log,file-list-changed.log,file-list-deleted.log,file-list-experiment.log'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('linting') {
|
stage('linting') {
|
||||||
|
Loading…
Reference in New Issue
Block a user