It's all about the answers!

Ask a question

RTC Pre-commit scripts

matt langley (1812) | asked Jan 19 '15, 8:39 p.m.
I am currently running an internal system with Mecurial HG that runs pre-commit nodeJs scripts to run tasks such as HTML/CSS/Js linting, Js unit tests or SASS compilation. This allows me to add a layer of code quality control around my team.

Is there any functionality that would allow us to replicate this functionality with RTC and is there any documentation pertaining to this?


Accepted answer

permanent link
Ralph Schoon (62.9k33645) | answered Jan 20 '15, 2:05 a.m.
RTC comes with several client side and server side "Advisors" which are pre-conditions that run before and can prevent delivery of code. It is possible to write your own advisors. You can find examples for the API's here: . In addition you can run anything you want during builds and fail builds. This would indicate the user, during private builds, that they need to tidy up before delivering.
matt langley selected this answer as the correct answer

Your answer

Register or to post your answer.