How to publish url as build artifact?

I want to publish urls to local file servers for fast build artifacts downloads. My TeamCity server is far in terms of network locality. I am planning to setup the build steps to copy files from the TeamCity server to my local network file server.

Also I can imagine wanting to publish url to deployed web services.
Thank you.

6 comments
Comment actions Permalink

Hi Tam,

Could you please describe your use case in more detail, provide an example?

0
Comment actions Permalink

Sample build steps:
1) MSBuild program/web service
2) Zip MSBuild results
3) Copy Zip from TeamCity server to FTP server.
4) Deploy zip as webservice to unique host/urls for the current build.

I would like to have accessible from TeamCity web interface are:
1) links to download the zip from my FTP server because it would be faster than downloading from the TeamCity host. It is faster because my particular FTP server has a better network connection.
2) links to the deployed webservice eg: http://my-webservice.com/xvgyo

0
Comment actions Permalink

Maybe this plugin helps: https://confluence.jetbrains.com/display/TW/Deployer+plugin

Upload to FTP is of course also possible in a build step.

0
Comment actions Permalink

Thank for clarification. It is not possible in TeamCity now to publish link instead of artifacts. I've created a feature request https://youtrack.jetbrains.com/issue/TW-39954, please watch/vote for it. As current workaround I can suggest to publish txt file with needed links.

0
Comment actions Permalink

Tam,

You could also use "Third party report tab" feature (see this documentation page)
In your build script, create html page, that contains required links, publish it as build artifact and configure new tab using this instruction.

In every build results you will see a tab with your html page.

0
Comment actions Permalink

Thank you! This works for me.

0

Please sign in to leave a comment.