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

Invalid artifact URL when packaging is not specified

XMLWordPrintable

      When no packaging is specified, an invalid artifact URL is assigned to the *_ARTIFACT_URL env variable.

      E.g. use the following configuration:

      When starting a build, it is provided with the following environment variables:

      ANY_JAR_ARTIFACT_URL=http://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.
      ANY_JAR_VERSION=3.4
      ANY_JAR_ARTIFACT_ID=commons-lang3
      ANY_JAR_GROUP_ID=org.apache.commons
      

      You'll notice:

      1. The artifact URL is missing the jar extension
      2. The variable ANY_JAR_PACKAGING is missing

            marcrohlfs Marc Rohlfs
            marcrohlfs Marc Rohlfs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: