-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Jenkins 1.500 / Tomcat 6 / JDK_1.6.0_18 / Debian 6 / x86
IE 9
Got the following exception:
10.02.2013 17:01:44 jenkins.plugins.publish_over.BPInstanceConfig perform
WARNUNG: An exception was caught when invoking perform
jenkins.plugins.publish_over.BapPublisherException: Exception when publishing, exception message [Failed to remove prefix from file named [src/Release/My.dll]. Prefix [**/Release/] must be present in all file paths]
at jenkins.plugins.publish_over.BPCallablePublisher.invoke(BPCallablePublisher.java:68)
at jenkins.plugins.publish_over.BPCallablePublisher.invoke(BPCallablePublisher.java:37)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: jenkins.plugins.publish_over.BapPublisherException: Failed to remove prefix from file named [src/Release/My.dll]. Prefix [**/Release/] must be present in all file paths
at jenkins.plugins.publish_over.BPBuildInfo.removePrefix(BPBuildInfo.java:128)
at jenkins.plugins.publish_over.BPBuildInfo.getRelativePath(BPBuildInfo.java:112)
at jenkins.plugins.publish_over.BPTransfer$DirectoryMaker.changeAndMakeDirs(BPTransfer.java:197)
at jenkins.plugins.publish_over.BPTransfer.transfer(BPTransfer.java:161)
at jenkins.plugins.publish_over.BapPublisher.perform(BapPublisher.java:146)
at jenkins.plugins.publish_over_cifs.CifsPublisher.perform(CifsPublisher.java:60)
at jenkins.plugins.publish_over.BPCallablePublisher.invoke(BPCallablePublisher.java:64)
... 11 more
Source was configured as **/Release/My.dll and "remove prefix" was configured as **/Release since I only want the pure file name.
Possible workaround: "remove prefix" set to the actual path, not using any wildcards.
Possible workaround: Using "[X] flatten files".