Adding custom comment

hi
is it possible to show custom comment in Build Overview through msbuild runner
or adding a column in recent history in which i can add custom messages through msbuild runner

7 comments
Comment actions Permalink

Sorry for the delay with reply.

Do you mean by using MSBuild runner of the build?
What you request seems like a servier-side plugin to TeamCity and runner is doing the actual build job on the agent, so the answer is probably "no".

However, you can change a build status text from with the build. If you need more guidance, please describe in detail what you are trying to achive and how is it supposed to be used.

0
Comment actions Permalink

thnx for ur reply
Actually we use Msbuild to build projects and deploy them to some location on network
the path is set in the msbuild file
Is there a way to show that path in Build overview or some where else, but not in build log

0
Comment actions Permalink

What Yegor suggest, is to add the value right into build result string, as on attached screenshot.
would it work for you?

Michael



Attachment(s):
comment.PNG
0
Comment actions Permalink

ya.. this will be grt... as shown in image

thnx for your reply

0
Comment actions Permalink

just create teamcity-info.xml file within the work directory. Its format is explained by the link above.

Michael

0
Comment actions Permalink

thnx for ur reply.. i was successfull in showing the path in the status msg..

but now my teamlead wants that in some way he can open the path in the explorer..

like if if u write "C:\Program Files\JetBrains" in Internet explorer and press enter it opens the path
Is the same thing possible by clicking some link in the on Teamcity portal

and the Path of which will be dynamic.. it will be genereted while the build

0
Comment actions Permalink

Then this approach doesn't work - the link points to build page and cannot be changed.
But you can put this link into build comment, like
Capture.PNG
Take look at REST API.

Michael

0

Please sign in to leave a comment.