order cache test to be first
parent
1882523a22
commit
4b23cc85c7
|
|
@ -584,7 +584,7 @@ class CLI {
|
|||
try {
|
||||
const buildParameter = JSON.parse(process.env.BUILD_PARAMETERS || '{}');
|
||||
__1.CloudRunner.buildParameters = buildParameter;
|
||||
yield caching_1.Caching.PushToCache(CLI.options['cachePushTo'], CLI.options['cachePushFrom'], CLI.options['artifactName']);
|
||||
yield caching_1.Caching.PushToCache(CLI.options['cachePushTo'], CLI.options['cachePushFrom'], CLI.options['artifactName'] || '');
|
||||
}
|
||||
catch (error) {
|
||||
cloud_runner_logger_1.default.log(`${error}`);
|
||||
|
|
@ -596,7 +596,7 @@ class CLI {
|
|||
try {
|
||||
const buildParameter = JSON.parse(process.env.BUILD_PARAMETERS || '{}');
|
||||
__1.CloudRunner.buildParameters = buildParameter;
|
||||
yield caching_1.Caching.PullFromCache(CLI.options['cachePushFrom'], CLI.options['cachePushTo'], CLI.options['artifactName']);
|
||||
yield caching_1.Caching.PullFromCache(CLI.options['cachePushFrom'], CLI.options['cachePushTo'], CLI.options['artifactName'] || '');
|
||||
}
|
||||
catch (error) {
|
||||
cloud_runner_logger_1.default.log(`${error}`);
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -102,7 +102,11 @@ export class CLI {
|
|||
try {
|
||||
const buildParameter = JSON.parse(process.env.BUILD_PARAMETERS || '{}');
|
||||
CloudRunner.buildParameters = buildParameter;
|
||||
await Caching.PushToCache(CLI.options['cachePushTo'], CLI.options['cachePushFrom'], CLI.options['artifactName']);
|
||||
await Caching.PushToCache(
|
||||
CLI.options['cachePushTo'],
|
||||
CLI.options['cachePushFrom'],
|
||||
CLI.options['artifactName'] || '',
|
||||
);
|
||||
} catch (error: any) {
|
||||
CloudRunnerLogger.log(`${error}`);
|
||||
}
|
||||
|
|
@ -116,7 +120,7 @@ export class CLI {
|
|||
await Caching.PullFromCache(
|
||||
CLI.options['cachePushFrom'],
|
||||
CLI.options['cachePushTo'],
|
||||
CLI.options['artifactName'],
|
||||
CLI.options['artifactName'] || '',
|
||||
);
|
||||
} catch (error: any) {
|
||||
CloudRunnerLogger.log(`${error}`);
|
||||
|
|
|
|||
Loading…
Reference in New Issue