Use access token instead

This commit is contained in:
Ryan Baxter
2024-06-03 19:54:33 -04:00
parent cfafc20a63
commit 9d4f6db7b4

View File

@@ -48,7 +48,7 @@ public class ReleaseBundleCreator {
log.info("Creating Artifactory client with password [{}]", properties.getBundles().getRepoPassword());
this.artifactory = ArtifactoryClientBuilder.create().setUrl(properties.getBundles().getRepoUrl())
.setUsername(properties.getBundles().getRepoUsername())
.setPassword(properties.getBundles().getRepoPassword()).build();
.setAccessToken(properties.getBundles().getRepoPassword()).build();
}
public boolean createReleaseBundle(List<String> repos, String version) throws IOException {