jfrog / teamcity-artifactory-plugin

TeamCity plugin that enables traceable build artifacts with Artifactory
https://www.jfrog.com/confluence/display/JFROG/TeamCity+Artifactory+Plug-in
Apache License 2.0
42 stars 47 forks source link

Link to build is formatted in an Artifactory 6.x context, regardless of Artifactory version #139

Open jfrogtim opened 1 year ago

jfrogtim commented 1 year ago

After creating a build in teamcity, the build link generated is in the Artifactory 6.x format, even if Artifactory is running 7.x e.g. of build link http://artifactory:8081/artifactory/webapp/builds/Test_Test/3

Steps to reproduce

  1. Install the Artifactory Team City Plugin.
  2. Configure an Artifactory 7.X server in the plugin.
  3. Create a project to test with, and create a test build.
  4. Add a generic Command Line build step (this same behavior applies to all build steps) and echo “Hello World”.
  5. Enable Publish build info in the command line build step.
  6. Save and execute the build.
  7. Observe in the logs the Command Line build step execution and subsequent build link that is created: Build-info successfully deployed. Browse it in Artifactory under http://localhost:8082/artifactory/webapp/builds/Test_Test/4