Co-authored-by: spalger <spalger@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
18 lines
603 B
Bash
Executable file
18 lines
603 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
source src/dev/ci_setup/setup_env.sh
|
|
source "$KIBANA_DIR/src/dev/ci_setup/setup_percy.sh"
|
|
|
|
echo " -> building and extracting default Kibana distributable"
|
|
cd "$KIBANA_DIR"
|
|
node scripts/build --debug --no-oss
|
|
linuxBuild="$(find "$KIBANA_DIR/target" -name 'kibana-*-linux-x86_64.tar.gz')"
|
|
installDir="$KIBANA_DIR/install/kibana"
|
|
mkdir -p "$installDir"
|
|
tar -xzf "$linuxBuild" -C "$installDir" --strip=1
|
|
|
|
mkdir -p "$WORKSPACE/kibana-build-xpack"
|
|
cp -pR install/kibana/. $WORKSPACE/kibana-build-xpack/
|
|
|
|
cd "$KIBANA_DIR"
|
|
source "test/scripts/jenkins_xpack_saved_objects_field_metrics.sh"
|