From f7654f736b67c4cf7064c594d5a92b147d022f6a Mon Sep 17 00:00:00 2001 From: mprahl Date: Aug 21 2019 20:21:05 +0000 Subject: Run the unit tests in parallel in the Jenkins job --- diff --git a/.cico-pr.pipeline b/.cico-pr.pipeline index e35161c..dc5683c 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' + } + } } }