From b6ffb8e654251424d706a9fdbb31e0e9377a96ba Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Nov 08 2018 09:44:42 +0000 Subject: ci: Run any script in the tests/ from Jenkinsfile These scripts should be run as a way of testing a pull request. Currently the Jenkinsfile is not redeployed on each pull request so we need it to be more flexible. --- diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index 563d998..c3b1f30 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -97,8 +97,8 @@ pipeline { stage('Tests') { steps { sh ''' - set -efux - ./tests/python-syntax.sh + set -eux + for script in ./tests/*.sh; do $script; done ''' } }