refactor(executeFreeleapsPipeline): improve code structure by adjusting stage block formatting

Signed-off-by: 孙振宇 <>
This commit is contained in:
孙振宇 2025-02-04 12:13:41 +08:00
parent bc29cf3514
commit aa7d449616

View File

@ -85,13 +85,13 @@ spec:
} }
stage("Code Changes Detection") { stage("Code Changes Detection") {
steps { when {
when { expression {
expression { return env.executeMode == "on-demand"
return env.executeMode == "on-demand"
}
} }
}
steps {
script { script {
sourceFetcher.fetch(configurations) sourceFetcher.fetch(configurations)