Jenkins job skip some unit tests

1,756 views
Skip to first unread message

ngd

unread,
Aug 21, 2013, 10:41:21 AM8/21/13
to jenkins...@googlegroups.com
Hi guys,

I'm new here and I hope I post in the right category.
I've searched and I've searched, but I cannot seem to find an answer to my
problem:

I have a Jenkins ci server that runs some tests. Some of these tests
occasionally fail (Instrumentation fails) and the job doesn't continue to
run the remaining tests.

Is it possible in any way to re-schedule the job to run *while skipping the
tests that ran the previous build?*
I have no control over the instrumentation failures.

Any idea, plugin or script that comes to mind would be appreciated.

Thanks a lot :)




--
View this message in context: http://jenkins-ci.361315.n4.nabble.com/Jenkins-job-skip-some-unit-tests-tp4676828.html
Sent from the Jenkins users mailing list archive at Nabble.com.

Richard Bywater

unread,
Aug 22, 2013, 3:14:55 PM8/22/13
to jenkins...@googlegroups.com
This sounds more like the system that is running the tests needs to change. For example if it was Ant then you'd change failonerror to false.

HTH
Richard
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

ngd

unread,
Aug 26, 2013, 8:18:00 AM8/26/13
to jenkins...@googlegroups.com
Hi,

thanks for responding. Maven does not stop the build at failures, but thanks
for suggesting that.

I started to work on some scripts that parse the log and determine which
tests were run and re-schedule the build with the tests that were not found
in that list passed with a -Dandroid.test.classes=a,b,c





--
View this message in context: http://jenkins-ci.361315.n4.nabble.com/Configure-Jenkins-job-to-intentionally-skip-some-unit-tests-tp4676828p4676982.html
Reply all
Reply to author
Forward
0 new messages