Use stack to get a newer shellcheck

This commit is contained in:
William Giokas 2018-07-10 18:31:04 -06:00
parent 587ac40827
commit 576d2bbe34
No known key found for this signature in database
GPG key ID: 690206D873CD09CF

2
Jenkinsfile vendored
View file

@ -72,7 +72,7 @@ node ('bootstrap') {
echo "${env.CHANGE_URL}"
}
stage('shellcheck') {
sh 'shellcheck -s sh -f checkstyle bootstrap-salt.sh | tee checkstyle.xml'
sh 'stack exec -- shellcheck -s sh -f checkstyle bootstrap-salt.sh | tee checkstyle.xml'
checkstyle pattern: '**/checkstyle.xml'
archiveArtifacts artifacts: '**/checkstyle.xml'
}