Skip to content

Commit

Permalink
Send queued builds to build page, not build queue
Browse files Browse the repository at this point in the history
This is because the build has probably been removed from the queue by
the time the user visits the link.
  • Loading branch information
netwolfuk committed Mar 19, 2023
1 parent 23caee4 commit dcb9588
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -362,7 +362,7 @@ private void populateCommonContent(VariableResolverFactory variableResolverFacto
// buildNumber won't have been resolved by TeamCity yet
// agent details won't have been resolved by TeamCity yet
setRootUrl(StringUtils.stripTrailingSlash(server.getRootUrl()) + "/");
setBuildStatusUrl(getRootUrl() + "queue.html?itemId=" + getBuildId());
setBuildStatusUrl(getRootUrl() + "viewLog.html?buildTypeId=" + getBuildTypeId() + "&buildId=" + getBuildId());
setBuildStatusSakuraUrl(getRootUrl() + "buildConfiguration/" + getBuildTypeId() + "/" + getBuildId());
setBuildStateDescription(buildState.getDescriptionSuffix());
}
Expand Down

0 comments on commit dcb9588

Please sign in to comment.