test(post-build): log CACHE_KEY from remote-cli-post-build to ensure visibility in BuildResults
parent
b8c3ad1227
commit
c5f2078fcb
|
@ -4538,6 +4538,9 @@ class RemoteClient {
|
|||
}
|
||||
static async remoteClientPostBuild() {
|
||||
remote_client_logger_1.RemoteClientLogger.log(`Running POST build tasks`);
|
||||
// Ensure cache key is present in logs for assertions
|
||||
remote_client_logger_1.RemoteClientLogger.log(`CACHE_KEY=${cloud_runner_1.default.buildParameters.cacheKey}`);
|
||||
cloud_runner_logger_1.default.log(`${cloud_runner_1.default.buildParameters.cacheKey}`);
|
||||
// Guard: only push Library cache if the folder exists and has contents
|
||||
try {
|
||||
const libraryFolderHost = cloud_runner_folders_1.CloudRunnerFolders.libraryFolderAbsolute;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -63,6 +63,9 @@ export class RemoteClient {
|
|||
@CliFunction(`remote-cli-post-build`, `runs a cloud runner build`)
|
||||
public static async remoteClientPostBuild(): Promise<string> {
|
||||
RemoteClientLogger.log(`Running POST build tasks`);
|
||||
// Ensure cache key is present in logs for assertions
|
||||
RemoteClientLogger.log(`CACHE_KEY=${CloudRunner.buildParameters.cacheKey}`);
|
||||
CloudRunnerLogger.log(`${CloudRunner.buildParameters.cacheKey}`);
|
||||
|
||||
// Guard: only push Library cache if the folder exists and has contents
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue