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

Invalid artifact URL when packaging is not specified

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Activity

          marcrohlfs Marc Rohlfs created issue -
          marcrohlfs Marc Rohlfs made changes -
          Field Original Value New Value
          Assignee Gesh Markov [ gesh ] Marc Rohlfs [ marcrohlfs ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 164446 ] JNJira + In-Review [ 209036 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: