|
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
|
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.
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.
..\..\PrecompiledWebApp => C:\deployments\latestBuild
to be a valid Artifact path would be an easy place to start.
..\..\PrecompiledWebApp => ..\..\..\..\..\..\..\..\deployments\latestBuild
will copy the pre-compiled .NET web app in to C:\deployments\latestBuild
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.
This would be useful for deployment-related tasks.
Build status (successful/failed) needs to be added to a file name.
http://devnet.jetbrains.net/message/5307868
https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+FTP+Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Plugins#Plugins-Artifactuploaders