From f7654f736b67c4cf7064c594d5a92b147d022f6a Mon Sep 17 00:00:00 2001 From: mprahl Date: Fri, 9 Aug 2019 08:13:01 -0400 Subject: [PATCH] Run the unit tests in parallel in the Jenkins job --- .cico-pr.pipeline | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.cico-pr.pipeline b/.cico-pr.pipeline index e35161cd..dc5683ce 100644 --- a/.cico-pr.pipeline +++ b/.cico-pr.pipeline @@ -71,9 +71,17 @@ node('factory2'){ stage('Run Test Suites') { timeout(30) { - onmyduffynode '~/fm-orchestrator/contrib/run-unittests.sh --no-tty' - onmyduffynode '~/fm-orchestrator/contrib/run-unittests.sh --py3 --no-tty' - onmyduffynode '~/fm-orchestrator/contrib/run-unittests.sh --py3 --with-pgsql --no-tty' + parallel { + stage('Test with Python 2 & SQLite') { + onmyduffynode '~/fm-orchestrator/contrib/run-unittests.sh --no-tty' + } + stage('Test with Python 3 & SQLite') { + onmyduffynode '~/fm-orchestrator/contrib/run-unittests.sh --py3 --no-tty' + } + stage('Test with Python 3 & Postgresql') { + onmyduffynode '~/fm-orchestrator/contrib/run-unittests.sh --py3 --with-pgsql --no-tty' + } + } } }