<hudson.model.StringParameterDefinition>
<name>PACKER_VERSION</name>
<description>Packer version to download and install.</description>
- <defaultValue>1.1.1</defaultValue>
+ <defaultValue>1.1.3</defaultValue>
</hudson.model.StringParameterDefinition>
</parameterDefinitions>
</hudson.model.ParametersDefinitionProperty>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
- <name>**</name>
+ <name>$sha1</name>
</hudson.plugins.git.BranchSpec>
</branches>
<excludedUsers/>
</org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
<EnvInjectBuilder>
<info>
- <propertiesContent>PACKER_VERSION=1.1.1
+ <propertiesContent>PACKER_VERSION=1.1.3
</propertiesContent>
</info>
</EnvInjectBuilder>
# $PACKER_VERSION : Define a packer version passed as job paramter
-PACKER_VERSION="${PACKER_VERSION:-1.0.2}"
+PACKER_VERSION="${PACKER_VERSION:-1.1.3}"
# Ensure we fail the job if any steps fail.
set -eu -o pipefail
mkdir -p "$SAR_DIR"
cp "$SYSSTAT_PATH/"* "$_"
# convert sar data to ascii format
-while IFS="" read -r s
+while IFS="" read -r sarfilenum
do
- [ -f "$s" ] && LC_TIME=POSIX sar -A -f "$s" > "$SAR_DIR/sar${s//[!0-9]/}"
+ [ -f "$sarfilenum" ] && LC_TIME=POSIX sar -A -f "$sarfilenum" > "$SAR_DIR/sar${sarfilenum//[!0-9]/}"
done < <(find "$SYSSTAT_PATH" -name "sa[0-9]*" || true)
# DON'T fail build if script fails.