Uploaded image for project: 'TeamCity Artifactory Plug-in'
  1. TeamCity Artifactory Plug-in
  2. TCAP-266

Allow for Artifactory for Resolution only

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: 2.1.13
    • Fix Version/s: None
    • Environment:

      CentoOS 7 / AWS

      Description

      I would like to use the configured Artifactory server and credentials for artifact resolution only (not publishing) for some builds.

      I have tried the Gradle plugin and the "command line" plugin.

      Both have options for Artifaction Publishning but nothing for resolution.
      If I enable the artifactory URL, and select the repository but uncheck all the deployment boxes no informatioin is passed to the build.

      For the command line build I tried
      env
      cat $TEAMCITY_BUILD_PROPERTIES_FILE

      and could find no artifactory related properties.

      If I enable deployment then there is a section for custom dependencies, but this is quite different. These are downloaded to the build runner server without regard to dependency resolution. One could download an entire repository then use a 'directory' based resolution but thats is non-ideal (and I dont think its the intent for this).

      This isn't a total blocking issue as I can manually set the repository in the gradle build configuration, and pass through env vars if needed the credentials,
      Or configure globally 'mavenLocal' on each build machine to refer to artificatory. But it does seem odd with so much feature integration for publishing that none exists for resolution (which is much easier to implement)

        Attachments

          Activity

            People

            Assignee:
            eyalbe Eyal Ben David
            Reporter:
            daldei David Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: