Merge pull request #1257 from KaiSforza/jenkins-usestack

Use stack to get a newer shellcheck
This commit is contained in:
Nicole Thomas 2018-07-11 08:57:17 -04:00 committed by GitHub
commit 324ae23ad3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
Jenkinsfile vendored
View file

@ -71,7 +71,7 @@ def prSetupRuns = prDistroversions.collectEntries {
node ('bootstrap') {
stage('checkout') { checkout scm }
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'
}