Skip to content
Permalink
Browse files
feat(serenity-bdd): support for artifact repositories using local rep…
…ository names

Serenity BDD downloader now support repositories (like Artifactory) that use local repository names,
for example `serenity-bdd update --repository
https://artifactory.mycompany.com/<local-repository-name>`.
  • Loading branch information
jan-molak committed Jun 2, 2020
1 parent a1f678a commit 523995b82e6b7eedf635fb118336886125581f5d
Showing 1 changed file with 2 additions and 6 deletions.
@@ -73,16 +73,12 @@ export class DownloadArtifact extends Task {
}

private artifactURL() {
const path = [
return [
this.repository.toString(),
...this.gav.groupId.split('.'),
this.gav.artifactId,
this.gav.version,
this.gav.toPath().value,
].join('/');

return resolve(
this.repository.toString(),
path,
);
}
}

0 comments on commit 523995b

Please sign in to comment.