http in "Artifact paths:"
Answered
Hi,
Because our build tool is not supported by teamcity, we are manually uploading artifacts to artifactory in a build step.
In this build step we can write "http" address of artifact to teamcity by using "##teamcity[setParameter name='HTTP_ARTIFACT_PATH' value='http://artifactory/repo/package.tgz' ]" command.
But we could not see artifact link on web ui despite we set "Artifact path:" as %HTTP_ARTIFACT_PATH%.
In build log's "Publishing artifacts" section; it is written as "Artifacts path http://artifactory/repo/package.tgz not found" but "http://artifactory/repo/package.tgz" is valid.
Thank you for your help.
Kind regards.
Please sign in to leave a comment.
Hi Mcsahin,
artifacts are files, produces by TeamCity builds, so HTTP format isn't supported here. You can check the information in our documentation.
As a workaround, you can download artifacts in a build step and only after that upload them to the server.