How can I generate release notes automatically from JIRA using TeamCity? - build

I use JIRA to store my my user stories and TeamCity to do my daily builds. I am trying to automate the generation of release notes (for only completed user stories) via the TeamCity build. Have you guys done this before?

Ok, I found a work around. here is the link to the steps
How can TeamCity generate Release notes from JIRA during a build
Enjoy!!!

Just implemented the TeamCity meta-runner which generates release notes with commits and tasks from the current TeamCity build, so you don't need to use JQL.
Give it a try.
https://github.com/olsh/teamcity-jira-release-notes/blob/master/GenerateJiraReleaseNotes.xml

Related

TFS2013 Auto build and publish

Actually, I was working with manual build and release concept and Now I have to start the automation with TFS2013, so Please suggest how to start the Build automation with TFS2013, I am getting confused while the merging from a development branch to QA branch.
XAML builds are deprecated. We strongly recommend that you upgrade TFS2013 and migrate to the new build system as explained in this official tutorial.
However, if you have to use TFS2013, then to enable XAML builds you must connect a XAML build controller to your collection. See Configure and manage your build system.
You could also customize your XAML templates or added custom tasks as your requirement.
If you want a step by step build/deploy process and tutorial, I would suggest you take a look at this wonderful blog-- Automated Web Deployment and Team Build Using TFS 2013

How to add profiling to unit test cases in Teamcity?

Is it possible to add memory/performance profiling of unit tests as a team city build step?
I am specifically interested in doing it for our .Net apps (test cases are written in NUnit). Any elaboration on this will be highly appreciated.
Teamcity version is "TeamCity Enterprise 7.1.2 (build 24170)"
Thanks.
As far as I know, TeamCity does not support profiling .Net apps yet. At least not in a direct way.
There is an open feature request TW-20190 planning to integrate dotTrace (a .Net profiler made also by JetBrains) in Teamcity.
But dotTrace can be called from command line, so you can write MSBuild/NAnt script to execute dotTrace. The problem is about how to display the profiling results. In "General Settings" page of your build config, you can point artifacts path to the dotTrace result folder, so that teamcity will publish the profiling results as artifacts for you to download.

TFS SDK Build Projects

I'm using TFS SDK and I wrote some code which is getting latest version of the selected project from the server. Now that I have the code downloaded I would like to invoke a build of the source locally.
Could you give me tutorial or example code on how to do this with MSBuild?
You can use TFS Team Build Template to do all the activities
Get Latest
Compile Code
Do other activities like running Unit Test, Code Coverage etc..
You can also write custom build activities.
Hope this helps to start

Trigger hudson/cloudbees build from Atlassian Jira?

I'm looking for possibility to allow any users of certain project of Jira start (trigger) certain Hudson builds. Is it possible without creating own Jira plugin?
I would have expected this feature to be available with the Marvelution JIRA Hudson Integration, which offers functionality pretty similar to he one offered by the JIRA Bamboo Plugin (e.g. build status reporting) - surprisingly though, triggering builds as you desire seems not to be available in either one yet, despite an obvious feature indeed (the JIRA Bamboo Plugin has related/partial support at least, see Running a Bamboo Build when Releasing a Version).
Consequently you might want to file a feature request for the Marvelution JIRA Hudson Integration first rather than developing your own from scratch immediately, maybe it is going to be considered.
Please note that this plugin doesn't support JIRA 5.0 yet, but the respective version 5.0.0 is scheduled for May 24, 2012.

Start TeamCity build when artifacts are published

Let's say I have one TeamCity build configuration depending on artifacts taken from another.
It is possible to publish artifacts while build is in progress in TeamCity.
My question is: is it possible to trigger build when all necessary artifacts are available even if builds that are providing these artifacts are still in progress?
The purpose of this is to speed up builds a little.
Thank you!
TeamCity, as far as I know, only has the option to trigger on finish of another build configuration, not after publishing artifacts which as you say you can do while the build is still in progress.
Let me ask you another question:
Since whatever you are doing in the build after the publication of the artifacts didn't of course stop you from publishing the artifacts, can't you extract that part out into another build configuration and then have that part fetch the artifacts from this one? This way you can make whatever build configuration you wanted to trigger as soon as you get the artifacts, trigger, well, as soon as you get the artifacts.