From 826e1e008a9f0dbc55c0013a7fff50f80ae25df1 Mon Sep 17 00:00:00 2001 From: Emmanuel Cazenave Date: Wed, 5 Feb 2020 15:51:14 +0100 Subject: [PATCH] run tests in jenkins (#39569) --- Jenkinsfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 90b7b61..159f2a3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,6 +3,21 @@ pipeline { agent any stages { + stage('Unit Tests') { + steps { + sh 'tox -rv' + } + post { + always { + script { + utils = new Utils() + utils.publish_coverage('coverage.xml') + utils.publish_coverage_native('index.html') + } + mergeJunitResults() + } + } + } stage('Packaging') { steps { script {