handle cloud runner git sync via sha not only branch
parent
82d737bef0
commit
fff28bca1c
|
|
@ -4379,9 +4379,9 @@ class CloudRunnerFolders {
|
||||||
}
|
}
|
||||||
// Only the following paths that do not start a path.join with another "Full" suffixed property need to start with an absolute /
|
// Only the following paths that do not start a path.join with another "Full" suffixed property need to start with an absolute /
|
||||||
static get uniqueCloudRunnerJobFolderAbsolute() {
|
static get uniqueCloudRunnerJobFolderAbsolute() {
|
||||||
return !cloud_runner_1.default.buildParameters.retainWorkspace
|
return cloud_runner_1.default.buildParameters.retainWorkspace
|
||||||
? path_1.default.join(`/`, CloudRunnerFolders.buildVolumeFolder, cloud_runner_1.default.buildParameters.buildGuid)
|
? path_1.default.join(`/`, CloudRunnerFolders.buildVolumeFolder, process.env.LOCKED_WORKSPACE || ``)
|
||||||
: path_1.default.join(`/`, CloudRunnerFolders.buildVolumeFolder, process.env.LOCKED_WORKSPACE || ``);
|
: path_1.default.join(`/`, CloudRunnerFolders.buildVolumeFolder, cloud_runner_1.default.buildParameters.buildGuid);
|
||||||
}
|
}
|
||||||
static get cacheFolderFull() {
|
static get cacheFolderFull() {
|
||||||
return path_1.default.join('/', CloudRunnerFolders.buildVolumeFolder, CloudRunnerFolders.cacheFolder, cloud_runner_1.default.buildParameters.cacheKey);
|
return path_1.default.join('/', CloudRunnerFolders.buildVolumeFolder, CloudRunnerFolders.cacheFolder, cloud_runner_1.default.buildParameters.cacheKey);
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -11,9 +11,9 @@ export class CloudRunnerFolders {
|
||||||
// Only the following paths that do not start a path.join with another "Full" suffixed property need to start with an absolute /
|
// Only the following paths that do not start a path.join with another "Full" suffixed property need to start with an absolute /
|
||||||
|
|
||||||
public static get uniqueCloudRunnerJobFolderAbsolute(): string {
|
public static get uniqueCloudRunnerJobFolderAbsolute(): string {
|
||||||
return !CloudRunner.buildParameters.retainWorkspace
|
return CloudRunner.buildParameters.retainWorkspace
|
||||||
? path.join(`/`, CloudRunnerFolders.buildVolumeFolder, CloudRunner.buildParameters.buildGuid)
|
? path.join(`/`, CloudRunnerFolders.buildVolumeFolder, process.env.LOCKED_WORKSPACE || ``)
|
||||||
: path.join(`/`, CloudRunnerFolders.buildVolumeFolder, process.env.LOCKED_WORKSPACE || ``);
|
: path.join(`/`, CloudRunnerFolders.buildVolumeFolder, CloudRunner.buildParameters.buildGuid);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static get cacheFolderFull(): string {
|
public static get cacheFolderFull(): string {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue