refactor(executeFreeleapsPipeline): streamline error handling in generateComponentStages function

Signed-off-by: 孙振宇 <>
This commit is contained in:
孙振宇 2025-02-04 15:11:28 +08:00
parent 8aaa271fe2
commit 891d594ff1

View File

@ -49,7 +49,6 @@ def generateComponentStages(component, configurations) {
) {
node("dep-resolver-${component.name}") {
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
script {
if (env.executeMode == "fully" || env.changedComponents.contains(component.name)) {
log.info("Pipeline", "Using ${env.buildAgentImage} as build agent image for dependencies resolving")
def sourceFetcher = new SourceFetcher(this)
@ -73,7 +72,6 @@ def generateComponentStages(component, configurations) {
}
}
}
}
]
}