Rahul, Can you please stop cross-posting? - https://groups.google.com/forum/#!topic/jenkinsci-users/epkqiwy27DU - https://groups.google.com/forum/#!topic/jenkinsci-users/IA2FhHUUehg
Besides of that, if you want to ask purely how to use Jenkins then use the right mailing list, this is not the right one! Please loot at: - https://jenkins.io/content/mailing-lists/ Thanks On Thursday, 2 February 2017 00:34:54 UTC, Baptiste Mathus wrote: > > Off the top of my head I think you want to split up your work to move > forward: > > * Tag your tests with the right annotation(s)(@Category or something?) per > type > > * Write a script able to parse svn log output to produce those category > names > ** Look at the docs of the plugin I hope and expect it might be possible > to retrieve the previous revision number. This way you would then basically > do something like: > svn log -r$( $LAST_REVISION_BUILT + 1 )..HEAD > (Beware, previous command made up. You need to figure out actual values) > > * Wrap this up by running your tests using the category names produced > above > > > Le 31 janv. 2017 3:42 AM, "Rahul Ingle" <[email protected] <javascript:>> > a écrit : > > Did anyone has any idea how to configure Jenkins to execute different > TestNG test suite for different committed code. > > ex. If we commit Database mapping related classes to SVN subversion then > Jenkins should execute database related test classes only. > ex. If we commit web service related classes to SVN subversion then > Jenkins should execute web service related test classes only. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/5398fd3d-3ec8-4797-8519-ea350b4b9944%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-dev/5398fd3d-3ec8-4797-8519-ea350b4b9944%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/87da2a02-b54a-406c-bc7c-198d445ccb88%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
