If you are using SVN for version control with username password credential, it is not srtaigh forward to add new project with multiple modules. Server continuum couldnot save the user name and password defined on the add project forms. These bug only occured when using SVN as version control, with CVS these bugs not found yet. With minimum change on pom.xml of multiple module could resolve these problem. Just define username and password in the pom.xml for authentification. I define a pom.xml as follows to show the configuration.
Now continuum will add project sucessfully, even you could use following commands from your terminal:
mvn scm:update
mvn scm:validate
Following link show all avaliable scm commands:
maven scm commands
But these way we have also a cons here, everybody from your developer group of these project will know your username and password. Anyway, we could use single number of user credential to build project on the Continumm server.
Continuum project build notifier can be also configured by following fragment code.
Now continuum will add project sucessfully, even you could use following commands from your terminal:
mvn scm:update
mvn scm:validate
Following link show all avaliable scm commands:
maven scm commands
But these way we have also a cons here, everybody from your developer group of these project will know your username and password. Anyway, we could use single number of user credential to build project on the Continumm server.
Continuum project build notifier can be also configured by following fragment code.
<ciManagement> <system>Continuum</system> <url>http://sunny.fors.ru/continuum</url> <notifiers> <notifier> <type>mail</type> <address>xyz@fors.ru</address> </notifier> </notifiers> </ciManagement>
Comments