Hello Karl-Heinz, you create test jobs and let Jenkins parse the changelog for you. Take a look at https://github.com/jenkinsci/jswidgets-plugin/tree/master/src/test/resources/hudson/plugins/jswidgets/PluginIT/jobs/svntest for an example. Regards Mirko -- Sent from my mobile Am 11.08.2015 21:42 schrieb "Karl Heinz Marbaise" <[email protected]>:
> I'm currently in developing a REST API tool ( > https://github.com/RisingOak/jenkins-client) which gets information from > jenkins about different aspects and consume the REST API...but now I'm at > the point where i need to write appropriate tests which means i need to > setup Jenkins in a test way... > > I have found things like this: > > @Rule > public JenkinsRule jenkinsRule = new JenkinsRule(); > > FreeStyleProject fsp = > jenkinsRule.getInstance().createProject(FreeStyleProject.class, > "TestProject"); > fsp.scheduleBuild(0, new Cause.UserIdCause(), > new ParametersAction(new StringParameterValue("BUILD", > "" + i))); > > So the question is how can i inject things like ChangeSet items etc. like > informations which are coming from version control systems like git, svn > etc. or does exist a better solution for this? > > Can someone give me a hint ? Or better idea? > > Thanks in advance. > > Kind regards > Karl Heinz Marbaise > > -- > 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/207e3311-5538-44ae-a27a-1cc8a8333d91%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/207e3311-5538-44ae-a27a-1cc8a8333d91%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/CAK8jvqyfwTeJeKvmkfSRQ3v96cHwr0%2Bp4HA8DYyjx%3D5RV_QtDQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
