import cli methods
parent
762843eeba
commit
fb9530048f
|
|
@ -2640,10 +2640,7 @@ class Caching {
|
|||
if (fs_1.default.existsSync(destinationFolder)) {
|
||||
fs_1.default.rmdirSync(destinationFolder, { recursive: true });
|
||||
}
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`ls ${destinationParentFolder}`);
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`mv "${fullResultsFolder}/${path_1.default.basename(destinationFolder)}" "${destinationParentFolder}"`);
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`ls ${destinationParentFolder}`);
|
||||
yield cloud_runner_system_1.CloudRunnerSystem.Run(`ls ${destinationFolder}`);
|
||||
}
|
||||
else {
|
||||
remote_client_logger_1.RemoteClientLogger.logWarning(`cache item ${cacheArtifactName} doesn't exist ${destinationFolder}`);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -133,12 +133,9 @@ export class Caching {
|
|||
if (fs.existsSync(destinationFolder)) {
|
||||
fs.rmdirSync(destinationFolder, { recursive: true });
|
||||
}
|
||||
await CloudRunnerSystem.Run(`ls ${destinationParentFolder}`);
|
||||
await CloudRunnerSystem.Run(
|
||||
`mv "${fullResultsFolder}/${path.basename(destinationFolder)}" "${destinationParentFolder}"`,
|
||||
);
|
||||
await CloudRunnerSystem.Run(`ls ${destinationParentFolder}`);
|
||||
await CloudRunnerSystem.Run(`ls ${destinationFolder}`);
|
||||
} else {
|
||||
RemoteClientLogger.logWarning(`cache item ${cacheArtifactName} doesn't exist ${destinationFolder}`);
|
||||
if (cacheSelection !== ``) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue