#!/bin/bash # Clean: shellcheck -e 2001 ./tcwg-benchmark-results.sh set -ex # Make shellcheck happy and workaround Jenkins not defining variables # for empty arguments. resultsdest="$resultsdest" # Jenkins doesn't define variables when parameter value is empty (like cflags), # so enable "set -u" only after above binding of variables. set -u rsync -az --delete "$resultsdest/" results/ mkdir -p artifacts bmk-scripts/perfdatadir2csv.sh --buildid-dir local -t --num 0 --format sample --results-dir results/ > artifacts/time.csv bmk-scripts/perfdatadir2csv.sh --buildid-dir local --results-dir results/ > artifacts/sample.csv exit 0