From 8116b5078d018b08e4f4f0c015ea3897afa20042 Mon Sep 17 00:00:00 2001 From: Tobias Schottdorf Date: Tue, 14 Jan 2020 16:43:11 +0100 Subject: [PATCH] build: post issues from local roachtests This wasn't happening due to some missing env vars. I noticed this since there are many failures of acceptance/version-upgrade not reflected via created issues (I get email notifications from TC). Release note: None --- build/teamcity-local-roachtest.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build/teamcity-local-roachtest.sh b/build/teamcity-local-roachtest.sh index 3e973ee81fb6..33f0e23885f2 100755 --- a/build/teamcity-local-roachtest.sh +++ b/build/teamcity-local-roachtest.sh @@ -26,7 +26,13 @@ tc_start_block "Run local roachtests" # NB: roachtest has its own teamcity output format and posts issues (whenever # GITHUB_API_TOKEN) is set, so it doesn't fit into the streamlined process # around the run_json_test helper. -build/builder.sh env COCKROACH_DEV_LICENSE="$COCKROACH_DEV_LICENSE" GITHUB_API_TOKEN="${GITHUB_API_TOKEN-}" \ +build/builder.sh env \ + COCKROACH_DEV_LICENSE="${COCKROACH_DEV_LICENSE}" \ + GITHUB_API_TOKEN="${GITHUB_API_TOKEN-}" \ + BUILD_VCS_NUMBER="${BUILD_VCS_NUMBER-}" \ + TC_BUILD_ID="${TC_BUILD_ID-}" \ + TC_SERVER_URL="${TC_SERVER_URL-}" \ + TC_BUILD_BRANCH="${TC_BUILD_BRANCH-}" \ stdbuf -oL -eL \ ./bin/roachtest run acceptance kv/splits cdc/bank \ --local \