Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

TeamCity.AntMessages

This is a repackage of serviceMessages.jar from TeamCity open-api as Ant task.

https://confluence.jetbrains.com/display/TCD9/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-ServiceMessages

Usage in Ant

    <!-- import task into Ant -->
    <taskdef name="teamcity-service-message"
             classname="org.jonnyzzz.teamcity.ant.TeamCityServiceMessageTask">
        <classpath>
            <fileset dir="PATH_TO_LIBRARIES" includes="TeamCity.AntMessages-VERSION.jar"/>
        </classpath>
    </taskdef>


    <!-- post simple service message
    <teamcity-service-message name="name" value="value"/>

    <!-- post complex service message -->
    <teamcity-service-message name="name">
        <param name="aaa" value="vvv"/>
        <param name="aa2a" value="v2vv"/>
    </teamcity-service-message>

Enabling tasks

    <taskdef resource="teamcity-messages.xml">
        <classpath>
            <fileset dir="PATH_TO_LIBRARIES" includes="TeamCity.AntMessages-*.jar"/>
        </classpath>
    </taskdef>

This antlib contains a number of macrodefs for most of TeamCity service messages

Building

Run ./gradlew dist

License

MIT. See LICENSE

Notice

See NOTICE

About

TeamCity Service messages for Ant

Resources

License

Languages

You can’t perform that action at this time.