From 3bee98e97755c0067181c521d5546dc7c9522f26 Mon Sep 17 00:00:00 2001 From: Bruno Goncalves Date: Nov 12 2020 10:19:39 +0000 Subject: remove unnecessary check on JenkinsfileNewCommentPrTrigger --- diff --git a/JenkinsfileNewCommentPrTrigger b/JenkinsfileNewCommentPrTrigger index 0991e90..d83a20b 100644 --- a/JenkinsfileNewCommentPrTrigger +++ b/JenkinsfileNewCommentPrTrigger @@ -80,15 +80,10 @@ pipeline{ currentBuild.displayName = "${env.buildname}" def valid_ci_comment = parsedMsg['pullrequest']['comments'][-1]['comment'].contains('[citest]') def valid_ci_rebase = parsedMsg['pullrequest']['comments'][-1]['notification'] - def valid_ci_status = parsedMsg['pullrequest']['status'] if (!valid_ci_comment && !valid_ci_rebase) { echo "Not CI retrigger comment" skip_test = true } - if (env.valid_ci_status != "Open") { - echo "PR is not Open" - skip_test = true - } } } }