18 lines
394 B
Bash
Executable file
18 lines
394 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
source test/scripts/jenkins_test_setup.sh
|
|
|
|
if [[ -z "$CODE_COVERAGE" ]]; then
|
|
|
|
destDir="build/kibana-build-oss"
|
|
if [[ ! "$TASK_QUEUE_PROCESS_ID" ]]; then
|
|
destDir="${destDir}-${CI_PARALLEL_PROCESS_NUMBER}"
|
|
fi
|
|
|
|
if [[ ! -d $destDir ]]; then
|
|
mkdir -p $destDir
|
|
cp -pR "$WORKSPACE/kibana-build-oss/." $destDir/
|
|
fi
|
|
|
|
export KIBANA_INSTALL_DIR="$destDir"
|
|
fi
|