Skip to content

jonnyzzz/TeamCity.AntMessages

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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

Stars

Watchers

Forks

Packages

No packages published

Languages