mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 10:23:14 -04:00
16 lines
371 B
Bash
Executable file
16 lines
371 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
source test/scripts/jenkins_test_setup.sh
|
|
|
|
if [[ -z "$CODE_COVERAGE" ]]; then
|
|
destDir="$WORKSPACE/kibana-build-${TASK_QUEUE_PROCESS_ID:-$CI_PARALLEL_PROCESS_NUMBER}"
|
|
|
|
if [[ ! -d $destDir ]]; then
|
|
mkdir -p $destDir
|
|
cp -pR "$WORKSPACE/kibana-build/." $destDir/
|
|
fi
|
|
|
|
export KIBANA_INSTALL_DIR="$(realpath $destDir)"
|
|
|
|
cd "$XPACK_DIR"
|
|
fi
|