refactor(executeFreeleapsPipeline): streamline error handling in generateComponentStages function
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
8aaa271fe2
commit
891d594ff1
@ -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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user