question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Should probably introduce script alias properties to make it cleaner and easier to use.

  • Set build version
  • Block opened/closed
  • Progress message/start/finish
  • Publish artifact

Script aliases:

// Detect if this is a team city build
bool IsTeamCityBuild();

// Set progress.
void SetTeamCityProgress("Building things");

// Start and finish progress scope.
void StartTeamCityProgress("Building things");
void FinishTeamCityProgress("Building thing");

// Set build version.
void SetTeamCityBuildVersion("1.0.0");

// Open and close message block.
void OpenTeamCityBlock("Run unit tests");
void CloseTeamCityBlock("Run unit tests");

// Publish artifact.
PublishTeamCityArtifact("./bin/**/*");

Convenience:

// Report progress
using(TeamCityProgress("Building things")
{
    // Do magic 
}

// Wrap operations in message block.
using(TeamCityBlock("Run unit tests"))
{
    // Do magic
}

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
patriksvenssoncommented, Aug 26, 2014

I like the idea of a Cake runner for TC!

On 26 aug 2014, at 08:18, Gary Ewan Park notifications@github.com wrote:

Or, you might want to think about a Meta Runner:

https://github.com/JetBrains/meta-runner-power-pack

Which don’t require you to restart the TeamCity Server in order for them to be used.

— Reply to this email directly or view it on GitHub.

0reactions
patriksvenssoncommented, Nov 6, 2015

I syspect all this have been implemented. Will investigate 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

TeamCity Support | JetBrains
Learn how to use TeamCity starting from login and user setup and finishing by notification configuration and remote runs.
Read more >
TeamCity On-Premises Documentation Home
Welcome to the documentation for TeamCity 2023.05 — a CI/CD solution for all sorts of workflows ... Explore a wide range of software...
Read more >
JetBrains/teamcity-dotnet-plugin
NET plugin provides support for .NET tools in TeamCity. It simplifies building Windows and cross-platform applications that use .NET frameworks and libraries.
Read more >
TeamCity 8 support for SVN 1.8?
I'm using TeamCity 8.0.3 (build 27540), the latest as of this post. It only supports up to SVN 1.7 but my SVN server...
Read more >
What's New in TeamCity 10 - YouTube
... Two TeamCity Server Node Configuration 1:01:13 - Cross-Server Projects Popup continued 1:03:54 - TFS cross platform support Learn about ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found