From f47e4ba1272dff68270515df76b9795ee9a50297 Mon Sep 17 00:00:00 2001 From: Jean-Francois Penven Date: Tue, 20 Sep 2022 13:26:05 +0000 Subject: [PATCH] Pull request #103: [Jenkins] Switch logic for builds Merge in WMN_TOOLS/matter from trim_down_mg12_boards to silabs Squashed commit of the following: commit 670ef652d1958253c0c74329bf8beb747881a14f Author: jepenven-silabs Date: Thu Sep 15 10:03:08 2022 -0400 Switch logic for builds --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 41ac0539432d39..a60a36fb24a5d9 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -788,7 +788,8 @@ def pipeline() def parallelNodes = [:] def openThreadBoards = [:] - if (env.BRANCH_NAME == "silabs") { + // Build only for release candidate branch + if (env.BRANCH_NAME.startsWith('RC_')) { openThreadBoards = ["BRD4161A", "BRD4162A", "BRD4163A", "BRD4164A", "BRD4166A", "BRD4186C", "BRD4187C", "BRD2703A"] } else { openThreadBoards = ["BRD4161A", "BRD4166A", "BRD4187C", "BRD2703A" ] @@ -813,7 +814,8 @@ def pipeline() def parallelNodes = [:] def wifiBoards = [:] - if (env.BRANCH_NAME == "silabs") { + // Build only for release candidate branch + if (env.BRANCH_NAME.startsWith('RC_')) { wifiBoards = ["BRD4161A", "BRD4186C", "BRD4187C"] } else { wifiBoards = ["BRD4161A", "BRD4186C"]