Replicity is a plugin
which embeds nrepl into
TeamCity. To install it, build
mvn package, put the
<TEAMCITY_DATA_DIR>/plugins and restart the server. After restart
nrepl will be avaiable at port 7888.
When server starts, plugin loads a file
<TEAMCITY_DATA_DIR>/config/init.clj, so you can use it just like
~/.emacs.d/init.el for your editor, i.e. you can save your scripts and
Plugin defines some commonly used beans in the namespace
tc/vcs-historyprovides a way to get version control changes
tc/build-historyhas methods for finding builds
tc/project-managerallows you to find a project or a build configuration
You can acquire any other TeamCity bean using Spring context
(.getBean tc/ctx jetbrains.buildServer.users.UserModel)
returns a bean with methods to find TeamCity users.
With repl you can explore new ideas and develop TeamCity plugins without any restarts of the server (ok, with much less number of restarts than required for traditional plugins).