Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-31835

Spaces in job name lead to URL generation that is invalid when used as repository URL in maven pom

XMLWordPrintable

      given:

      Maven configuration as per https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Maven+Repository+Server

      when:

      Select Define Upstream Maven Repository with project "My Job"

      then:

      17:31:13 Setting environment Jenkins.Repository = http://myjenkinsserver/jenkins/plugin/repository/project/My Job/Build/154/repositoryChain
      17:31:18 [WARNING] Could not transfer metadata com.acme:my-project:1.5.0-SNAPSHOT/maven-metadata.xml from/to upstream (http://myjenkinsserver/jenkins/plugin/repository/project/My Job/Build/154/repositoryChain): Illegal character in path at index 74: 
      

            ihomer Ian Homer
            ihomer Ian Homer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: