Project
TeamCity
Priority
Major
Type
Feature
State
Open
Assignee
Pavel Sher
Subsystem
Agent
Affected versions
No Affected versions
Fix versions
High Priority Pool
Fixed in build
No Fixed in build
Fixed in builds
no build yet
  • Created by   Kirill Maximov
    5 years ago (30 Jan 2007 17:13)
  • Updated by   Zachary Roadhouse
    3 months ago (01 Feb 2012 20:42)
  • Jira: TW-1558
    (history, comments)
 
TW-1558 External artifact publishing (FTP, copy)
37
Issue is visible to: All Users
  The issue is visible to the selected user group only
TeamCity should allow to publish build artifacts to outside, using copying to target directory or using FTP for publishing.
Comments (17)
 
History
 
Linked Issues (?)
 
IvanLatysh
  IvanLatysh
22 Mar 2007 17:34
5 years ago
Artifact publishing task should provide most of the features of the build task.
But it is a separate logical entity of the build process.

Some features:

* ability to be triggered by one or many builds.
Example:
execute the task when all builds are successful.
execute the task when all builds are done (regardless of the result)
execute the task when one or more build are failed.

* ability to chain tasks
Example:
execute the task only after another task is finished.
Rene Medellin
  Rene Medellin
17 Apr 2007 20:08
5 years ago
Other options for external publishing:
rdist, rsync, sftp. And this has to be decoupled from the build run itself as sometimes the build needs to be validated before it can be deployed. Not strictly an aspect of Continuous Integration but TeamCity can be used to leverage deployment needs as well.
Brian Bannister
  Brian Bannister
03 Oct 2007 04:47
4 years ago
Allowing something like:

..\..\PrecompiledWebApp => C:\deployments\latestBuild

to be a valid Artifact path would be an easy place to start.
Brian Bannister
  Brian Bannister
03 Oct 2007 04:57
4 years ago
This does work for me, on a Server 2003 install of TeamCity 2.1 using the sln2005 build runner:

..\..\PrecompiledWebApp => ..\..\..\..\..\..\..\..\deployments\latestBuild

will copy the pre-compiled .NET web app in to C:\deployments\latestBuild
Yegor Yarko
  Yegor Yarko
24 Oct 2007 19:46
4 years ago
Current workaround is to create a separate build configuration that has artifact dependency configured from the needed configuration (or several) and run it manually or via dependency trigger.

Sample Ant script that uploads files to ftp can look as simple as this:
<project name="uploadFiles" default="upload">
<target name="upload">
<ftp server="ftp.myorg.com"
userid="anonymous"
password="me@myorg.com">
<fileset dir="htdocs/manual"/>
</ftp>
</target>
</project>
The script can be specified right in the TeamCity Ant runner configuration.
Oleg Gerovich
  Oleg Gerovich
28 May 2010 16:59
23 months ago
We would REALLY like to see an ability to publish artifacts to a network location:
some\directory\*.dll => \\somemachine\dropdirectory

This would be useful for deployment-related tasks.
Michael Kuzmin
  Michael Kuzmin
02 Feb 2011 22:23
15 months ago
Requested in forum thread http://devnet.jetbrains.net/message/5285283
Build status (successful/failed) needs to be added to a file name.
Michael Kuzmin
  Michael Kuzmin
19 May 2011 17:54
12 months ago
Yegor Yarko
  Yegor Yarko
21 May 2011 12:57
12 months ago
A related case (publishing to S3): http://devnet.jetbrains.net/message/5303819#5303819
Daniel Warren
  Daniel Warren
01 Jun 2011 19:07
11 months ago
I wrote a plugin that will allow you to publish to a remote ftp site. http://teamcityrunners.codeplex.com/, its built against teamcity 6.5. Its pretty simple right now, but it fits the bill fairly well.
Michael Kuzmin
  Michael Kuzmin
30 Jun 2011 12:11
10 months ago
another customer tried to specify absolute artifact paths in build settings
http://devnet.jetbrains.net/message/5307868
Ryan J
  Ryan J
17 Jul 2011 00:19
10 months ago
I also tried to specify an absolute artifact path. I would like to publish artifacts for a couple VCS triggered builds, but want to exclude them from my backups. Being able to publish artifacts somewhere outside the data directory would be very useful.
Michael Kuzmin
  Michael Kuzmin
25 Aug 2011 21:10
9 months ago
opticyclic
  opticyclic
20 Sep 2011 12:16
8 months ago
Michael Kuzmin
  Michael Kuzmin
11 Jan 2012 20:46
4 months ago
opticyclic
  opticyclic
31 Jan 2012 14:01
3 months ago
Daniels plugin keeps suffering from corrupt files although there appears to be a snapshot fix for it (https://issues.apache.org/jira/browse/NET-409 )
Zachary Roadhouse
  Zachary Roadhouse
01 Feb 2012 20:42
3 months ago
I'd like to see this feature implemented. I have two cases right now:
  1. copy artifacts to S3 (artifact path to S3 path - ex: target/myjar-1.0-SNAPSHOT.jar => my-s3-bucket/lib)
  2. copy artifacts to a network share (currently utilizing a command line script step with xcopy)