From fdaf63f94d601a49944a9fe014afd2243c17d9f2 Mon Sep 17 00:00:00 2001 From: Nguyen Quoc Bao Date: Mon, 31 Aug 2020 10:59:17 +0800 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 05d50b403..2fa827114 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -162,7 +162,7 @@ def isPullRequest(branch) { } def doBuildAndTest(branch) { - return branch == 'develop' + return branch.startsWith('PR') || branch == 'staging' || branch == 'production' } def isProdRelease(branch) {