You seem to be mixing things here. Maven has actually nothing to do with Jenkins in its code.
MavenProject.getCiManagement() returns what's in the <ciManagement> in the pom.xml. HTH Cheers Le 2 mai 2014 23:29, "Mauro Flores" <[email protected]> a écrit : > Hello, > > I'm developing a maven plugin to run in jenkins, > Why does the method getCiManagent() return null? Shouldn't it return > jenkins managent context? > > MavenProject mp = (MavenProject) super.getPluginContext().get( > "project"); > mp.getCiManagement(); > > "The <CiManagement> element contains informations required to the > continuous integration system of the project."(javadoc) > > Regards. Mauro. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
