autobuild.sh: put artifacts to output_dir

Use output_dir path provided by autotest_common.sh
to store all build artifacts in one place.

Signed-off-by: Karol Latecki <karol.latecki@intel.com>
Change-Id: Ie5d3bb4dcb3fc623b6719859ce25235e1aae6bcb
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1135
Reviewed-by: Maciej Wawryk <maciejx.wawryk@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Karol Latecki 2020-03-04 17:42:17 +01:00 committed by Tomasz Zawadzki
parent dfa73e77b5
commit 0bf189a39d

View File

@ -8,14 +8,14 @@ if [[ ! -f $1 ]]; then
exit 1
fi
out=$PWD
rootdir=$(readlink -f $(dirname $0))
scanbuild="scan-build -o $out/scan-build-tmp --status-bugs"
source "$1"
source "$rootdir/test/common/autotest_common.sh"
out=$output_dir
scanbuild="scan-build -o $output_dir/scan-build-tmp --status-bugs"
rm -rf /tmp/spdk
mkdir /tmp/spdk
umask 022