提交 d7023f9a 编写于 作者: J Jesse Glick

Need to rename environment variables since $JENKINS_URL is defined on CI.

上级 3b59990a
......@@ -54,8 +54,8 @@ import org.jvnet.hudson.test.recipes.PresetData;
public class Security218BlackBoxTest {
private static final String overrideURL = System.getenv("JENKINS_URL");
private static final String overrideHome = System.getenv("JENKINS_HOME");
private static final String overrideURL = System.getenv("VICTIM_JENKINS_URL");
private static final String overrideHome = System.getenv("VICTIM_JENKINS_HOME");
static {
assertTrue("$JENKINS_URL and $JENKINS_HOME must both be defined together", (overrideURL == null) == (overrideHome == null));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册