Log if retained workspace option is present for testing
parent
e915e057ea
commit
995f794dc4
|
|
@ -4204,9 +4204,16 @@ class RemoteClient {
|
|||
}
|
||||
static runRemoteClientJob() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
RemoteClient.handleRetainedWorkspace();
|
||||
yield RemoteClient.bootstrapRepository();
|
||||
});
|
||||
}
|
||||
static handleRetainedWorkspace() {
|
||||
if (process.env.LOCKED_WORKSPACE === undefined) {
|
||||
return;
|
||||
}
|
||||
remote_client_logger_1.RemoteClientLogger.log(`Retained Workspace: ${process.env.LOCKED_WORKSPACE}`);
|
||||
}
|
||||
}
|
||||
__decorate([
|
||||
cli_functions_repository_1.CliFunction(`remote-cli`, `sets up a repository, usually before a game-ci build`)
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -104,6 +104,13 @@ export class RemoteClient {
|
|||
|
||||
@CliFunction(`remote-cli`, `sets up a repository, usually before a game-ci build`)
|
||||
static async runRemoteClientJob() {
|
||||
RemoteClient.handleRetainedWorkspace();
|
||||
await RemoteClient.bootstrapRepository();
|
||||
}
|
||||
static handleRetainedWorkspace() {
|
||||
if (process.env.LOCKED_WORKSPACE === undefined) {
|
||||
return;
|
||||
}
|
||||
RemoteClientLogger.log(`Retained Workspace: ${process.env.LOCKED_WORKSPACE}`);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue