log file path

This commit is contained in:
Frostebite 2023-05-14 17:16:36 +01:00
parent 45a1901e23
commit a6ec38049b
4 changed files with 3 additions and 3 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View File

@ -4,7 +4,7 @@ import path from 'node:path';
export class RemoteClientLogger { export class RemoteClientLogger {
private static get LogFilePath() { private static get LogFilePath() {
return path.join(`/`, `job-log.txt`); return path.join(`/home`, `job-log.txt`);
} }
public static log(message: string) { public static log(message: string) {

View File

@ -92,8 +92,8 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
return `export GIT_DISCOVERY_ACROSS_FILESYSTEM=1 return `export GIT_DISCOVERY_ACROSS_FILESYSTEM=1
${cloneBuilderCommands} ${cloneBuilderCommands}
chmod -R a+rX ${CloudRunnerFolders.ToLinuxFolder(CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute)} chmod -R a+rX /home
chmod -R 755 ${CloudRunnerFolders.ToLinuxFolder(CloudRunnerFolders.uniqueCloudRunnerJobFolderAbsolute)} chmod -R 755 /home
node ${builderPath} -m remote-cli-pre-build`; node ${builderPath} -m remote-cli-pre-build`;
} }