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]

Solutions on the web17

  • via Jenkins JIRA by Markus KARG, 11 months ago
    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]
  • via Jenkins JIRA by Markus KARG, 1 year ago
    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]
  • via Jenkins JIRA by Alex Domoradov, 1 year ago
    Exception when publishing, exception message [Failed to connect SFTP channel. Message [java.io.IOException: channel is broken]]
  • Stack trace

    • 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

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.