Add buildin artifact support #2282
Replies: 7 comments 5 replies
-
Must be optional and should only be available if an s3 storage option was provided to woodpecker |
Beta Was this translation helpful? Give feedback.
-
My original idea was, that it would be stored on the woodpecker itself or some other self-hosted solution. |
Beta Was this translation helpful? Give feedback.
-
@kyngs gitlab-runner has artifacts. I was looking for something like that in Woodpecker. It doesn't require S3. Are you also requesting for similar feature ? |
Beta Was this translation helpful? Give feedback.
-
Yes, Jenkins also has this feature, and so do Github actions. It is really useful for sharing binaries for each commit. |
Beta Was this translation helpful? Give feedback.
-
Not only that, it is very useful for writing papers in Latex. For every push the pdf is generated automatically. I think Kraken CI also has this feature. |
Beta Was this translation helpful? Give feedback.
-
I have built a solution for this in our project.
there’s additional processes which are work in progress to control the retention time of artifacts I would like to start by adding in the api to retrieve, configuration options (similar to the private docker repositories config) the plugin to store artifacts and the tab. My code is ready so if the proposal above seems good I can start pushing up some PRs! |
Beta Was this translation helpful? Give feedback.
-
It should be stored in special artifact repository: Nexus, Artifactory, Gitea, etc in your JAR case.
If replace "attach" to "list", then make separate step and list whatever you want, like other tools do. Or do it in the end of build step / upload step / whatever step you want.
|
Beta Was this translation helpful? Give feedback.
-
Clear and concise description of the problem
I have a pipeline which builds my project. I want to attach the JAR files it builds to the pipeline.
Suggested solution
It would work similarly to Jenkins build artifacts.
Perhaps in this section:
a tab named something like "Build Artifacts" could be added.
The tab should contain the files, which the viewer could download.
Alternative
Adding a step that would upload the artifacts to an external server.
Additional context
I couldn't find any issues on the same subject, which seems surprising considering that this is a pretty popular use case.
Maybe someone already suggested it, and it was rejected? I don't know.
Validations
Beta Was this translation helpful? Give feedback.
All reactions