Skip to content

Commit

Permalink
[ci] every script needs to have set -e
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Nov 29, 2018
1 parent 280e652 commit 4e9bdc5
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/dev/ci_setup/checkout_sibling_es.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -e

function checkout_sibling {
project=$1
targetDir=$2
Expand Down
1 change: 0 additions & 1 deletion src/dev/ci_setup/setup.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env bash

set -e
set -o pipefail

dir="$(pwd)"
cacheDir="${CACHE_DIR:-"$HOME/.kibana"}"
Expand Down
2 changes: 2 additions & 0 deletions test/scripts/jenkins_ci_group.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e

source src/dev/ci_setup/checkout_sibling_es.sh

"$(FORCE_COLOR=0 yarn bin)/grunt" functionalTests:ensureAllTestsInCiGroup;
Expand Down
2 changes: 2 additions & 0 deletions test/scripts/jenkins_report_failed_tests.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

set -e

xvfb-run "$(FORCE_COLOR=0 yarn bin)/grunt" jenkins:report;
2 changes: 2 additions & 0 deletions test/scripts/jenkins_unit.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e

source src/dev/ci_setup/checkout_sibling_es.sh

export TEST_BROWSER_HEADLESS=1
Expand Down
2 changes: 2 additions & 0 deletions test/scripts/jenkins_xpack.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e

source src/dev/ci_setup/checkout_sibling_es.sh

export TEST_BROWSER_HEADLESS=1
Expand Down
2 changes: 2 additions & 0 deletions test/scripts/jenkins_xpack_ci_group.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e

source src/dev/ci_setup/checkout_sibling_es.sh

export TEST_BROWSER_HEADLESS=1
Expand Down

0 comments on commit 4e9bdc5

Please sign in to comment.