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]> 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].
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/CANWgJS6PHrnc_wHSNiQmpi3M-m%2BirA%3DVeuo5uUm0C%2BhHmi%2BYCg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to