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 - |
문제
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!
해결책
다른 팁
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.
제휴하지 않습니다 StackOverflow