I've actually solved this... I realized I wasn't actually using Ant, so I had to do that, and I then had used Archive the Artifacts, as @Nick said.
Jenkins - Compile source into jarfile, use as artifact
-
11-03-2022 - |
Frage
I need to allow Jenkins to, after building, create a .jar of the sources downloaded from the Subversion, and allow users to download that as an artifact. Here's an example of a site with this feature:
https://jenkins.kellerkindt.com/job/ShowCaseStandalone/
After building, it compiles "ShowCaseStandalone.jar", and that is added to the artifacts, where people can download it.
Thanks in advance!
Lösung
Andere Tipps
In the post build step in the configuration for your project, you can add a "Archive the Artifacts" as an action. Type in the name of the artifacts you want to display.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow