Skip to content
Permalink
Browse files

[JENKINS-18405]

This fixes the 'Unknown url shema' error in the FindBugs plugin.

Before JENKINS-15120, we used to faithfully recreate the expected
resource path in a temporary resource file. For some reasons, we lost
that. This change brings it back by recreting the directory structure.

Note that this change doesn't address
"java.lang.IncompatibleClassChangeError: Implementing class" error
reported also in JENKINS-18405. That is still under investigation.
  • Loading branch information
kohsuke committed Jun 26, 2013
1 parent b2836fc commit 781ccaec2e26797bc8fa9e6c982a031988d381e0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/remoting/ResourceImageDirect.java
@@ -37,7 +37,7 @@

@Override
Future<URLish> resolveURL(Channel channel, String resourcePath) throws IOException, InterruptedException {
return new AsyncFutureImpl<URLish>(URLish.from(makeResource(getBaseName(resourcePath), payload)));
return new AsyncFutureImpl<URLish>(URLish.from(makeResource(resourcePath, payload)));
}

private static final Logger LOGGER = Logger.getLogger(ResourceImageDirect.class.getName());

0 comments on commit 781ccae

Please sign in to comment.
You can’t perform that action at this time.