jenkinsci / jenkinsci/java-client-api
Enhancement: Artifact should offer a way to get the a URL and/or download the file
- Lenguaje dominante
- Java
- Estrellas
- 913
- Forks
- 466
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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)
Guía de contribución
Línea de trabajo
Start by reading Artifact, JobWithDetails, BuildWithDetails, and the existing buildWithDetails#downloadArtifact(Artifact a) API. Compare how artifact access works when a BuildWithDetails instance is unavailable, and review issue #339 for related context. Done means the supported artifact URL and/or download behavior is defined and exposed consistently, with coverage for the chosen API.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- api, backend
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 25/100