Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-894

artifactoryPublish on Gradle build fails with "Path cannot have a slash after a space"

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 2.9.2
    • Fix Version/s: None
    • Component/s: Gradle
    • Labels:
      None
    • Environment:

      jfrog-artifactory-oss-5.1.0
      Jenkins ver. 2.48

      Description

      Hello,

      artifactoryPublish on Gradle build fails with "Path cannot have a slash after a space"

      :artifactoryPublish
      Deploying artifact: http://localhost:1011/artifactory/MyProject-Gradle/com.MyProject/MyProject-bus/'0.32.0-2017Feb23-GRADLE-SNAPSHOT' /MyProject-bus-'0.32.0-2017Feb23-GRADLE-SNAPSHOT' .jar

      :artifactoryPublish FAILED

      FAILURE: Build failed with an exception.

      • What went wrong:
        Execution failed for task ':artifactoryPublish'.
        > java.io.IOException: Failed to deploy file. Status code: 500 Response message: Artifactory returned the following errors:
        Path cannot have a slash after a space: MyProject-Gradle/com.MyProject/MyProject-bus/'0.32.0-2017Feb23-GRADLE-SNAPSHOT' /MyProject-bus-'0.32.0-2017Feb23-GRADLE-SNAPSHOT' .jar Status code: 500
      • Try:
        Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

      BUILD FAILED

        Attachments

          Activity

            People

            • Assignee:
              eyalb Eyal Ben Moshe
              Reporter:
              joyousjavadev joyous javadev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: