2 # SPDX-License-Identifier: EPL-1.0
3 ##############################################################################
4 # Copyright (c) 2018 Red Hat, Inc. and others.
6 # All rights reserved. This program and the accompanying materials
7 # are made available under the terms of the Eclipse Public License v1.0
8 # which accompanies this distribution, and is available at
9 # http://www.eclipse.org/legal/epl-v10.html
10 ##############################################################################
12 echo "Executing run-reports.sh"
13 set -e -o pipefail # Fail on errors, give stacktrace
16 virtualenv --quiet "/tmp/v/odltools"
17 # shellcheck disable=SC1091
18 source /tmp/v/odltools/bin/activate
21 python -m odltools csit reports --numjobs "$NUM_JOBS" --path "$REPORT_PATH" --url "$LOG_URL" --jobnames "$JOB_NAMES" || true
22 python -m odltools csit exceptions --numjobs "$NUM_JOBS" --path "$REPORT_PATH" --url "$LOG_URL" --jobnames "$JOB_NAMES" || true
23 mkdir -p "$WORKSPACE/archives"
24 cp "$REPORT_PATH"/*.txt "$WORKSPACE/archives" || true