Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I've never used NAnt but can offer two other solutions...</p> <p>1) Create an email mailing list and add all the people that require it to the list.</p> <p>Then create a teamcity user for with its email to to the mailing list and setup the required notifications to that user.</p> <p>Restrictions to this is you have to create a user per mailing list which can eat up the licenses.</p> <p>2) You can use the TeamCity REST API to get that information from the running build. Use <code>%teamcity.build.id%</code> which will return the build id and perform the following lookup:</p> <pre><code>/httpAuth/app/rest/changes?build=id:%teamcity.build.id% </code></pre> <p>Which will return all the changes for the build which will like:</p> <pre><code>&lt;changes count="3"&gt; &lt;change href="/httpAuth/app/rest/changes/id:217404" id="217404" version="b6b97a0d7789d97df6df908ab582ebb723235f43" webLink="http://teamcity.my-domain.com/viewModification.html?modId=217404&amp;personal=false"/&gt; &lt;change href="/httpAuth/app/rest/changes/id:217403" id="217403" version="064ecef5552ec2fb7875d7c26fe54cdf94b67bec" webLink="http://teamcity.my-domain.com/viewModification.html?modId=217403&amp;personal=false"/&gt; &lt;change href="/httpAuth/app/rest/changes/id:217402" id="217402" version="9bc3a34c952059bbfc7bebeb79ba5a3c894ef555" webLink="http://teamcity.my-domain.com/viewModification.html?modId=217402&amp;personal=false"/&gt; &lt;/changes&gt; </code></pre> <p>Then loop through the <code>href</code> url results for each of the <code>&lt;change&gt;</code> elements. Which return something like:</p> <pre><code>&lt;change date="20130918T133404-0600" username="welsh" href="/httpAuth/app/rest/changes/id:217397" id="217397" version="51e925e354a83deccde881b30a76974b2ff745f4" webLink="http://teamcity.my-domain.com/viewModification.html?modId=217397&amp;personal=false"&gt; &lt;comment&gt; My comments are here &lt;/comment&gt; &lt;files&gt; &lt;file before-revision="90acd4da1972814094c22e3020c5073521a7b640@141323126c0" after-revision="51e925e354a83deccde881b30a76974b2ff745f4@1413290abe0" file="grails-app/views/layouts/global.gsp" relative-file="grails-app/views/layouts/global.gsp"/&gt; &lt;/files&gt; &lt;user href="/httpAuth/app/rest/users/id:1" id="1" name="Welsh" username="welsh"/&gt; &lt;/change&gt; </code></pre> <p>And use that to build your email to who you email to whoever which is more work to create initially but more freedom on who you email without eating up licenses.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload