refactor(executeFreeleapsPipeline): improve code structure by adjusting stage block formatting
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
bc29cf3514
commit
aa7d449616
@ -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)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user