提交 a87a5a1a 编写于 作者: O Oliver Gondža

More robust unit test

上级 8d9329e5
......@@ -270,10 +270,10 @@ public class MavenTest {
@Issue("JENKINS-26684")
@Test public void specialCharsInBuildVariablesPassedAsProperties() throws Exception {
j.configureDefaultMaven();
MavenInstallation maven = j.configureMaven3();
FreeStyleProject p = j.createFreeStyleProject();
p.getBuildersList().add(new Maven("--help", null));
p.getBuildersList().add(new Maven("--help", maven.getName()));
p.addProperty(new ParametersDefinitionProperty(
new StringParameterDefinition("tilde", "~"),
new StringParameterDefinition("exclamation_mark", "!"),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册