简体   繁体   中英

How to set Artifact Path at runtime

I'm developing build runner plugin for Teamcity. I want to publish the artifact to Teamcity server when the build is done.

However, I only find where to set Artifact Path on server before the build is started. The build runner will generate artifact in a random file folder, I can only get the file folder when the build is running.

Here comes question, how to set Artifact Path when the build is running?

TeamCity artifacts can be published via a service message . This is available for any build script or build tool.

An agent plugin can also publish artifacts via a call to ArtifactsWatcher.addNewArtifactsPath

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM