use of org.jenkinsci.test.acceptance.plugins.maven.MavenProjectConfig in project acceptance-test-harness by jenkinsci.
the class MavenPluginTest method set_global_maven_options.
@Test
public void set_global_maven_options() {
installSomeMaven(jenkins);
jenkins.configure();
new MavenProjectConfig(jenkins.getConfigPage()).opts.set("-showversion");
jenkins.save();
MavenModuleSet job = jenkins.jobs.create(MavenModuleSet.class);
job.configure();
job.copyDir(resource("/maven_plugin/multimodule/"));
job.goals.set("clean");
job.save();
job.startBuild().shouldSucceed().shouldContainsConsoleOutput(" Runtime Environment ");
}
Aggregations