Skip to content

Commit

Permalink
fix: skip arm64 stage when running edgex-go PR validation
Browse files Browse the repository at this point in the history
Signed-off-by: Cherry Wang <[email protected]>
  • Loading branch information
cherrycl committed Aug 21, 2024
1 parent 5905561 commit fa3fda8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vars/edgeXBuildGoParallel.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,10 @@ def call(config) {
stage('arm64') {
when {
beforeAgent true
expression { edgex.nodeExists(config, 'arm64') }
allOf {
expression { not { env.BRANCH_NAME ==~ /^PR-*/ } }
expression { edgex.nodeExists(config, 'arm64') }
}
}
agent {
node {
Expand Down

0 comments on commit fa3fda8

Please sign in to comment.