Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC Pre-commit scripts

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?

 

1 vote


Accepted answer

Permanent link
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: https://rsjazz.wordpress.com/ . 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

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941
× 6

Question asked: Jan 19 '15, 8:39 p.m.

Question was seen: 2,976 times

Last updated: Jan 20 '15, 2:05 a.m.

Confirmation Cancel Confirm