diff --git a/vars/common.groovy b/vars/common.groovy index 8593c9cc9..dc03a6fb2 100644 --- a/vars/common.groovy +++ b/vars/common.groovy @@ -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 }