0

I'm new to the jenkins world and I know this question seems somewhat open-ended, but after reading the jenkins plugin development tutorial I'm still lost as to where to start. I need to write a jenkins plugin that can determine the maven dependencies used in the project.

I'm very confused about which jenkins @Extension I should be extending or what hudson class I should be investigating to get the maven artifacts.

Currently, I have a class that extends hudson.tasks.Recorder and I'm implementing the perform(AbstractBuild build, Launcher launcher, BuildListener listener) method. But I'm not sure how to extract the artifacts from (presumably) the AbstractBuild object.

Any direction would be helpful. Thanks in advance.

This SO question is similar but it has no answers yet.

Get Maven artifact properties from Jenkins plugin

Community
  • 1
  • 1
kane
  • 5,465
  • 6
  • 44
  • 72

0 Answers0