jenkinsci / jenkinsci/java-client-api

Enhancement: Artifact should offer a way to get the a URL and/or download the file

Open
#338 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
913
Forks
466
PR merge metrics
No merged PRs in 30d

Description

The Artifact class does not offer a #getUrl() method (just as JobWithDetails/BuildWithDetails). IMHO it would be a valuable feature to get the URL of the artifact to for further processing or allow a direct download.
I know there is "buildWithDetails#downloadArtifact(Artifact a)" but that offers only an InputStream and furthermore the build(WithDetails) is not always available (and there is no artifact.getBuild() - see #339)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.