use of org.jfrog.build.extractor.clientConfiguration.client.artifactory.ArtifactoryManager in project build-info by JFrogDev.
the class NpmBuildInfoExtractor method preparePrerequisites.
private void preparePrerequisites(String resolutionRepository, Path workingDir) throws IOException {
try (ArtifactoryManager artifactoryManager = artifactoryManagerBuilder.build()) {
setNpmAuth(artifactoryManager);
setRegistryUrl(artifactoryManager, resolutionRepository);
setNpmProxy(artifactoryManager);
}
readPackageInfoFromPackageJson(workingDir);
backupProjectNpmrc(workingDir);
}
Aggregations