jenkinsci / jenkinsci/java-client-api
Enhancement: Artifact should offer a way to get the a URL and/or download the file
- Langage dominant
- Java
- Étoiles
- 913
- Forks
- 466
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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)
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par lire Artifact, JobWithDetails, BuildWithDetails et l’API existante buildWithDetails#downloadArtifact(Artifact a). Comparez le fonctionnement de l’accès aux artefacts lorsqu’une instance de BuildWithDetails n’est pas disponible, et consultez issue #339 pour le contexte associé. Le travail est considéré comme terminé lorsque l’URL d’artefact prise en charge et/ou le comportement de téléchargement sont définis et exposés de manière cohérente, avec une couverture pour l’API choisie.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- api, backend
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 25/100