Skip to content

Commit

Permalink
[JENKINS-45245] Improve messaging.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Jun 30, 2017
1 parent aa1f33b commit d0f8b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jvnet/hudson/test/WarExploder.java
Expand Up @@ -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
Expand Down

0 comments on commit d0f8b51

Please sign in to comment.