Skip to content

Commit

Permalink
do we have to get causes again??
Browse files Browse the repository at this point in the history
  • Loading branch information
TerryMcGuinness-NOAA committed Jul 16, 2024
1 parent be3c744 commit cf8019f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ pipeline {
cause instanceof hudson.model.Cause.UpstreamCause
}

def causes = currentBuild.rawBuild.getCauses()
dif isSpawnedFromParameteriedBuild = causes.any { cause ->
def causes2 = currentBuild.rawBuild.getCauses()
dif isSpawnedFromParameteriedBuild = causes2.any { cause ->
cause instanceof hudson.model.Cause.ParameterizedCause
}

Expand Down

0 comments on commit cf8019f

Please sign in to comment.