From e8150d71874f08c98f3327413fa4aa7fc0e5dd2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 5 Dec 2019 10:56:31 +0100 Subject: [PATCH] small fix for TR_CASE_IDS parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ci/tests/Jenkinsfile.e2e-prs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/tests/Jenkinsfile.e2e-prs b/ci/tests/Jenkinsfile.e2e-prs index 563c768ab3..a055f5f327 100644 --- a/ci/tests/Jenkinsfile.e2e-prs +++ b/ci/tests/Jenkinsfile.e2e-prs @@ -29,6 +29,7 @@ pipeline { string( name: 'TR_CASE_IDS', description: 'IDs of the TestRail case, separated by a comma. (Optional)', + defaultValue: '', ) } @@ -54,8 +55,8 @@ pipeline { steps { script { currentBuild.displayName = "PR-${params.PR_ID}" /* for managing optional arguments */ - def extraPytestOpts = "" - if (params.TR_CASE_IDS != "") { + def extraPytestOpts = '' + if (params.TR_CASE_IDS != '') { extraPytestOpts = "--run_testrail_ids='${params.TR_CASE_IDS}'" }