Skip to content

Commit 1b72cbc

Browse files
committed
[CI] Move kibana build dir outside of repo for functional tests (#80018)
1 parent ec8f86b commit 1b72cbc

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

test/scripts/jenkins_test_setup_oss.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
source test/scripts/jenkins_test_setup.sh
44

55
if [[ -z "$CODE_COVERAGE" ]]; then
6-
7-
destDir="build/kibana-build-oss"
8-
if [[ ! "$TASK_QUEUE_PROCESS_ID" ]]; then
9-
destDir="${destDir}-${CI_PARALLEL_PROCESS_NUMBER}"
10-
fi
6+
destDir="$WORKSPACE/kibana-build-oss-${TASK_QUEUE_PROCESS_ID:-$CI_PARALLEL_PROCESS_NUMBER}"
117

128
if [[ ! -d $destDir ]]; then
139
mkdir -p $destDir

test/scripts/jenkins_test_setup_xpack.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
source test/scripts/jenkins_test_setup.sh
44

55
if [[ -z "$CODE_COVERAGE" ]]; then
6-
7-
destDir="build/kibana-build-xpack"
8-
if [[ ! "$TASK_QUEUE_PROCESS_ID" ]]; then
9-
destDir="${destDir}-${CI_PARALLEL_PROCESS_NUMBER}"
10-
fi
6+
destDir="$WORKSPACE/kibana-build-xpack-${TASK_QUEUE_PROCESS_ID:-$CI_PARALLEL_PROCESS_NUMBER}"
117

128
if [[ ! -d $destDir ]]; then
139
mkdir -p $destDir

0 commit comments

Comments
 (0)