Skip to content

Commit

Permalink
Add null checking to env.k8s_dind_limits_cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
roceb committed Sep 21, 2024
1 parent 015f2fd commit 1dadc21
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pipelines/lib/util.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,9 @@ def void jenkinsWrapper(Map buildParams) {

// This line uses k8s to set EUPSPKG_NJOBS
def njobs = env.K8S_DIND_LIMITS_CPU
if (njobs == null){
njobs = 8
}

def buildEnv = [
"WORKSPACE=${cwd}",
Expand Down

0 comments on commit 1dadc21

Please sign in to comment.