Skip to content
Permalink
Browse files

Merge pull request #65 from jglick/messaging-JENKINS-45245

[JENKINS-45245] Improve messaging
  • Loading branch information
jglick committed Jun 30, 2017
2 parents aa1f33b + d0f8b51 commit 2f425413932db5e1b7455a2d3a82d38c9d75035b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/jvnet/hudson/test/WarExploder.java
@@ -84,7 +84,7 @@ private static File explode() throws Exception {
URL winstone = WarExploder.class.getResource("/winstone.jar");
if(winstone==null)
// impossible, since the test harness pulls in jenkins.war
throw new AssertionError("jenkins.war is not in the classpath. If you are running this from the core workspace, run 'mvn install' to create the war image in war/target/jenkins");
throw new AssertionError("jenkins.war is not in the classpath. If you are running this from the core workspace, run 'mvn install' to create the war image in war/target/jenkins. If running from a plugin, try using `mvn clean test` (cf. JENKINS-45245).");
File war = Which.jarFile(Class.forName("executable.Executable"));

// TODO this assumes that the CWD of the Maven process is the plugin ${basedir}, which may not be the case

0 comments on commit 2f42541

Please sign in to comment.