TeamCity url to view report tab of latest build
Asked Answered
M

1

6

Here is the url to a custom report tab of a specific build:

http://teamcity/viewLog.html?buildId=1738&buildTypeId=bt16&tab=report_TODO_items

What I cannot figure out is how to change that URL to always point to the latest build (finished or successful).

There is help on how get artifact data here: http://confluence.jetbrains.com/display/TCD7/Patterns+For+Accessing+Build+Artifacts

But http://teamcity/bt16/.lastSuccessful/viewLog.html&tab=report_TODO_items doesn't work

Milliken answered 17/9, 2013 at 17:34 Comment(0)
M
13

I found the answer on the Overview tab of my build configuration in the "Permalink" section at the bottom:

http://teamcity/viewLog.html?buildId=lastSuccessful&buildTypeId=bt16&tab=report_TODO_items

Milliken answered 16/12, 2013 at 21:22 Comment(1)
buildId=lastFinished will get the result of the latest build. lastSuccessful will only work if the build succeededOxpecker

© 2022 - 2024 — McMap. All rights reserved.