Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-6845

Publishing build with Gradle results in bad path because of problem in GAVC

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Deferred
    • Affects Version/s: 3.4.0.1
    • Fix Version/s: None
    • Component/s: Gradle
    • Labels:
      None
    • Severity:
      Medium

      Description

      Publishing a build in Artifactory using the following Gradle code:

      configure(jarProjects()) {
          publishing {
              publications {
                  mavenJava(MavenPublication) {
      				artifactId "aaron-${project.name}".toString() // This is the important bit
                      from components.java
                      artifact(file("$rootDir/gradle.properties")) // deploy arbitrary file
                  }
              }
          }
      }
      

      Results in the build info being inconsistent. (see screenshots)

      This is using Gradle 1.11, Artifactory Jenkins 2.2.3 and Artifactory 3.3.1.

        Attachments

        1. Eyal-1.png
          Eyal-1.png
          488 kB
        2. Eyal-2.png
          Eyal-2.png
          485 kB
        3. Eyal-3.png
          Eyal-3.png
          508 kB
        4. GAVC.jpg
          GAVC.jpg
          240 kB
        5. gradleCode.txt
          5 kB
        6. gradle-example.zip
          108 kB

          Activity

              People

              Assignee:
              freds Fred Simon
              Reporter:
              aaronr Aaron Rhodes
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-6845 -
                  SYNCHRONIZED
                  • Last Sync Date: