catch setup resource errors
parent
89868ca60f
commit
cb46681c8e
|
|
@ -1364,6 +1364,7 @@ class Kubernetes {
|
|||
core.info('Failed to cleanup, error:');
|
||||
core.error(JSON.stringify(error, undefined, 4));
|
||||
core.info('Abandoning cleanup, build error:');
|
||||
throw error;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -2067,6 +2068,7 @@ class RemoteBuilder {
|
|||
core.error(JSON.stringify(error, undefined, 4));
|
||||
core.setFailed('Remote Builder failed');
|
||||
yield this.RemoteBuilderProviderPlatform.cleanupSharedBuildResources(buildUid, buildParameters, branchName, defaultSecretsArray);
|
||||
throw error;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -76,6 +76,7 @@ class RemoteBuilder {
|
|||
branchName,
|
||||
defaultSecretsArray,
|
||||
);
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue