Skip to content

Commit 739340d

Browse files
ClementGautiermr-prud
authored andcommitted
Update Jenkinsfile (#107)
1 parent f338e95 commit 739340d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.ci/Jenkinsfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,8 +630,7 @@ def queue(String phpApiImageName, String pimImageName, String pimVersion, String
630630
@NonCPS
631631
def clearTemplateNames() {
632632
// see https://issues.jenkins-ci.org/browse/JENKINS-42184
633-
def action = currentBuild.rawBuild.getAction(PodTemplateAction.class);
634-
if(action) { action.names.clear() }
633+
currentBuild.rawBuild.getAction( PodTemplateAction.class )?.stack?.clear()
635634
}
636635

637636
/**

0 commit comments

Comments
 (0)