Write to BuildLog from my listener which extends BuildServerAdapter Follow
Hello,
I'm working on the TeamCity server-side only plugin. The plugin is configured/enabled as Build Feature.
I have put my code inside the following method, which works well.
public void beforeBuildFinish(SRunningBuild runningBuild){}
The only problem I'm facing is how to write to a Build Log?
I'm able to write to a server log the following way:
import jetbrains.buildServer.log.Loggers;
[...]
Loggers.SERVER.info(msg);
But I would like to write some log messages to a Build Log as well, so the user can see that actions executed by the plugin were performed.
Please sign in to leave a comment.
Well, that turned out to be quite easy: