fix(pipeline): correct conditional check for changed components in executeFreeleapsPipeline
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
6df9ace1d7
commit
7e97aa8177
@ -741,7 +741,7 @@ spec:
|
||||
log.info("Pipeline", "Executing generated stages for ${component.name}...")
|
||||
generateComponentStages(component, configurations)()
|
||||
}
|
||||
} else if {
|
||||
} else if (env.changedComponents != null && env.changedComponents.split(/\s+/).toList().size() > 0) {
|
||||
def changedComponents = env.changedComponents.split(/\s+/).toList()
|
||||
configurations.components.each { component ->
|
||||
if (changedComponents.contains(component.name)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user