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.
For more options, visit https://groups.google.com/d/optout.