From 9c9be6f11a9c1060c9f593c1308286f1ee56cd0c Mon Sep 17 00:00:00 2001 From: Mateusz Pilat Date: Mon, 6 May 2019 17:12:36 +0200 Subject: Add script to start review for offline installer in community Jenkins script to detect what tests are supposed to be executed for a given change Change-Id: I8e392e5d67bb56ab7653d4a5176a3b8df1dc72c9 Issue-ID: OOM-1801 Signed-off-by: Mateusz Pilat --- ansible/test/bin/ci-molecule.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ansible/test/bin') diff --git a/ansible/test/bin/ci-molecule.sh b/ansible/test/bin/ci-molecule.sh index 9fbaad51..be598a48 100755 --- a/ansible/test/bin/ci-molecule.sh +++ b/ansible/test/bin/ci-molecule.sh @@ -24,6 +24,8 @@ # Molecule can be adjusted in this script independently. # +set -e + SCRIPT_DIR=$(dirname "${0}") LOCAL_PATH=$(readlink -f "$SCRIPT_DIR") @@ -45,8 +47,8 @@ else # Install Molecule natively in the target platform MOLECULE_BINARY=molecule fi -${MOLECULE_BINARY} --version - cd ${ROLE_PATH} +${MOLECULE_BINARY} --version ${MOLECULE_BINARY} test --all cd - + -- cgit 1.2.3-korg