2018-11-20 23:02:06 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2019-10-30 22:24:28 +01:00
|
|
|
source test/scripts/jenkins_test_setup.sh
|
2018-11-20 23:02:06 +01:00
|
|
|
|
2019-09-11 20:58:28 +02:00
|
|
|
if [[ -z "$IS_PIPELINE_JOB" ]] ; then
|
2019-09-13 20:15:38 +02:00
|
|
|
yarn run grunt functionalTests:ensureAllTestsInCiGroup;
|
2019-09-11 20:58:28 +02:00
|
|
|
node scripts/build --debug --oss;
|
|
|
|
else
|
|
|
|
installDir="$(realpath $PARENT_DIR/kibana/build/oss/kibana-*-SNAPSHOT-linux-x86_64)"
|
|
|
|
destDir=${installDir}-${CI_WORKER_NUMBER}
|
|
|
|
cp -R "$installDir" "$destDir"
|
|
|
|
|
|
|
|
export KIBANA_INSTALL_DIR="$destDir"
|
|
|
|
fi
|
|
|
|
|
2019-05-01 23:02:33 +02:00
|
|
|
checks-reporter-with-killswitch "Functional tests / Group ${CI_GROUP}" yarn run grunt "run:functionalTests_ciGroup${CI_GROUP}";
|
2018-11-20 23:02:06 +01:00
|
|
|
|
|
|
|
if [ "$CI_GROUP" == "1" ]; then
|
2019-10-25 18:57:46 +02:00
|
|
|
source test/scripts/jenkins_build_kbn_tp_sample_panel_action.sh
|
2019-05-01 23:02:33 +02:00
|
|
|
yarn run grunt run:pluginFunctionalTestsRelease --from=source;
|
2019-12-16 21:03:46 +01:00
|
|
|
yarn run grunt run:exampleFunctionalTestsRelease --from=source;
|
2019-05-01 23:02:33 +02:00
|
|
|
yarn run grunt run:interpreterFunctionalTestsRelease;
|
2019-08-30 19:36:51 +02:00
|
|
|
fi
|