Skip to content

Commit

Permalink
skip active timeout checks for Orka VMs
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams committed Nov 17, 2023
1 parent 76ba6c0 commit 5e41235
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pipelines/build/common/openjdk_build_pipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1724,6 +1724,11 @@ class Build {
String helperRef = buildConfig.HELPER_REF ?: DEFAULTS_JSON['repository']['helper_ref']
def NodeHelper = context.library(identifier: "openjdk-jenkins-helper@${helperRef}").NodeHelper

// If label contains mac skip waiting for node to become active as we use Orka
if (label.contains('mac')) {
return
}

// A node with the requested label is ready to go
if (NodeHelper.nodeIsOnline(label)) {
return
Expand Down

0 comments on commit 5e41235

Please sign in to comment.