Skip to content

Commit

Permalink
Merge pull request #143 from Mbed-TLS/dev/bensze01/filter-release-com…
Browse files Browse the repository at this point in the history
…ponents

Do not run all.sh release components in PR jobs
  • Loading branch information
daverodgman authored Dec 6, 2023
2 parents daeca64 + 2376364 commit 135c5f5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vars/common.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,13 @@ BranchInfo get_branch_information() {
*/
info.all_all_sh_components['build_armcc'] = 'arm-compilers'
echo "Overriding all_all_sh_components['build_armcc'] = 'arm-compilers'"

if (env.JOB_TYPE == 'PR') {
// Do not run release components in PR jobs
info.all_all_sh_components = info.all_all_sh_components.findAll {
component, platform -> !component.startsWith('release')
}
}
}
return info
}
Expand Down

0 comments on commit 135c5f5

Please sign in to comment.