You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pull request project-chip#1802: [Matter SQA] Bring SQA changes to silabs_slc_1.3
Merge in WMN_TOOLS/matter from matter_sqa_new_stage to silabs_slc_1.3
Squashed commit of the following:
commit d15447ca7153045c559df0e874dbc4d0d1efe619
Author: Stefan Livadariu <stlivada@silabs.com>
Date: Tue Apr 30 11:39:12 2024 -0400
removed function not in use anymore
commit bce84480d98b8f60c86f27aebf98c8bc23be468e
Merge: d1670197cf 83a9794
Author: Stefan Livadariu <stlivada@silabs.com>
Date: Tue Apr 30 11:27:57 2024 -0400
Merge branch 'silabs_slc_1.3' of https://stash.silabs.com/scm/wmn_tools/matter into matter_sqa_new_stage
commit d1670197cf40024cfec58bbfcc50946bd255cd4b
Author: Stefan Livadariu <stlivada@silabs.com>
Date: Mon Apr 29 10:57:36 2024 -0400
matter sqa modifications for sqa build pipeline
... and 457 more commits
//If SQA build branch exists, checkout the branch, merge the RC/silabs branch to update it, update matter build number, update sqa matter build number and push to repo
git commit -m "Update SQA branch, matter build number and sqa matter build number"
226
-
git push origin ${sqaBranchName}
227
-
"""
228
-
} catch (e) {
229
-
echo "Updating SQA branch failed: ${e.message}"
230
-
}
231
-
} else {
232
-
//If SQA build branch does not exist, need to create it, add CRON trigger, add matter build number and initialize sqa matter build number to 0 and then push to repo
233
-
echo "Branch $sqaBranchName does not exist. Creating branch $sqaBranchName"
234
-
try {
235
-
sh"""
236
-
git checkout -b ${sqaBranchName}
237
-
sed -i '7i\\ pipelineTriggers([cron(\"0 1 * * *\")]),' Jenkinsfile
git commit -m 'Create SQA branch, insert CRON trigger, save matter build number and initialize sqa matter build number'
244
-
git push origin -u ${sqaBranchName}
245
-
"""
246
-
} catch (e) {
247
-
echo "Creating SQA branch failed: ${e.message}"
248
-
}
249
-
}
250
-
// Checkout original branch to continue
251
-
sh "git checkout ${env.BRANCH_NAME}"
252
-
// If it's a SQA branch, compare CI build number to SQA build number. This logic is used to trigger building the binaries if the CI build number is greater than the SQA build number.
253
-
// If it's not, then exit pipeline successfully without building SQA binaries to avoid duplicates
254
-
// This logic is a placeholder for now, cleaner option would be to trigger the SQA branch when DEV branch changes it
0 commit comments