jenkinsci / jenkinsci/java-client-api

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

Offen
#338 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
913
Forks
466
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.