From 1b168501afa26d79c3c27f5e0fae967ef523e465 Mon Sep 17 00:00:00 2001 From: odain Date: Fri, 29 Nov 2019 16:37:01 +0100 Subject: [PATCH] add a parameter to Jenkins pipeline --- Jenkinsfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 94ac751e6..a7b813418 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,8 @@ pipeline { agent any + parameters { + string(name: 'RUN_NON_REG_TESTS', defaultValue: '0', description: 'Do You want to run legacy OQL regression tests?') + } stages { stage('init') { @@ -36,7 +39,7 @@ pipeline { parallel { stage('phpunit') { steps { - sh './.jenkins/bin/tests/phpunit.sh' + sh './.jenkins/bin/tests/phpunit.sh ${params.RUN_NON_REG_TESTS}' } } }