For future reference, also do NOT use any version of the plugin parent pom that is not 2.5+.
If you use something <2.5, you're most probably going to hit INFRA-588. 2016-11-22 19:31 GMT+01:00 sneha shejwal <[email protected]>: > Hi Jesse, > > Thank for correcting me about the version. The POM.xml doesn't have the > parameter "jenkins.vesrion". I will try updating the POm with these version > and give it a try. > > Thanks, > Sneha > > > On Tuesday, November 22, 2016 at 7:52:01 AM UTC-8, Jesse Glick wrote: >> >> On Tue, Nov 22, 2016 at 1:20 AM, sneha shejwal <[email protected]> >> wrote: >> > I changed the <parent> POM version to >> > latest which is 2.2 >> >> As of this writing the latest is 2.19. >> >> > [ERROR] Undefined reference: hudson/tasks/test/AbstractTestResultAction >> in >> > C:\Users\sshejwal\Downloads\delivery-pipeline-plugin-master\ >> target\classes\se\diabol\jenkins\pipeline\domain\results\TestResult.class >> >> >> Did you specify a `jenkins.version` in your POM to select a particular >> baseline, as you must do when using the 2.x parent? Seems like you are >> now building against a newer Jenkins release after the split of the >> `junit` plugin, and you are failing to declare a dependency on that >> plugin. >> > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-dev/d40fede0-dbc0-412a-a24d-8402573745f7% > 40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/d40fede0-dbc0-412a-a24d-8402573745f7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS6AmWBnW%3D6pNxse5JU0YV8R6D1PpHOckdWPFrXOkjm0yg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
