add support for artifacts proxy repositories

This commit is contained in:
denizhoxha 2022-12-20 19:46:24 +01:00
parent 06db6c25b8
commit cec33d9d11
18 changed files with 497 additions and 23 deletions

View file

@ -15,6 +15,8 @@ import {
import os from 'os';
class EmptyJavaBase extends JavaBase {
protected remoteMetadataBaseUrl = 'MUST STAY EMPTY';
protected remoteBaseUrl = 'MUST STAY EMPTY';
constructor(installerOptions: JavaInstallerOptions) {
super('Empty', installerOptions);
}
@ -37,6 +39,10 @@ class EmptyJavaBase extends JavaBase {
url: `some/random_url/java/${availableVersion}`
};
}
protected baseUrl(): string {
throw new Error('Method already tested in all distribution installers');
}
}
describe('findInToolcache', () => {