I am creating a plugin that would automatically pin a build based on specific VCS comment. I've extended ServerListener and overridden the BuildFinished method. How can I access SFinishedBuild.setPinned from here?
The openapi doc has this:
void buildFinished(http://javadoc.jetbrains.net/teamcity/openapi/current/jetbrains/buildServer/serverSide/SRunningBuild.html build)
Called after build finishing, only if build was not interrupted
Parameters:build - running build // TODO: shall pass SFinishedBuild as parameter
Is there a workaround until the parameter is changed?