mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Merge branch 'develop' into suse15fix
This commit is contained in:
commit
6fa61603f7
2 changed files with 14 additions and 12 deletions
24
Jenkinsfile
vendored
24
Jenkinsfile
vendored
|
@ -71,21 +71,21 @@ 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'
|
||||
}
|
||||
if (env.CHANGE_ID) {
|
||||
// Running for a PR only runs against 4 random distros from a shorter list
|
||||
stage('kitchen-pr') {
|
||||
parallel prSetupRuns
|
||||
}
|
||||
} else {
|
||||
// If we're not running for a pr we run *everything*
|
||||
stage('kitchen-all') {
|
||||
parallel setupRuns
|
||||
}
|
||||
}
|
||||
// if (env.CHANGE_ID) {
|
||||
// // Running for a PR only runs against 4 random distros from a shorter list
|
||||
// stage('kitchen-pr') {
|
||||
// parallel prSetupRuns
|
||||
// }
|
||||
// } else {
|
||||
// // If we're not running for a pr we run *everything*
|
||||
// stage('kitchen-all') {
|
||||
// parallel setupRuns
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -457,6 +457,8 @@ shift $((OPTIND-1))
|
|||
# Define our logging file and pipe paths
|
||||
LOGFILE="/tmp/$( echo "$__ScriptName" | sed s/.sh/.log/g )"
|
||||
LOGPIPE="/tmp/$( echo "$__ScriptName" | sed s/.sh/.logpipe/g )"
|
||||
# Ensure no residual pipe exists
|
||||
rm "$LOGPIPE" 2>/dev/null
|
||||
|
||||
# Create our logging pipe
|
||||
# On FreeBSD we have to use mkfifo instead of mknod
|
||||
|
|
Loading…
Add table
Reference in a new issue