ant - JUnit jar in Jenkins build not seen -
i have build exported svn failing on 'test' target in build.xml. looks jenkins cannot see junit.jar getting following error:
"java.lang.noclassdeffounderror: junit/framework/testlistener"
i installed xunit plug-in
, didn't seem work. have junit4
installed on unix host path being set in ant build.xml
file (this exact build works in different build enviroment not in jenkins). there place need set junit path in jenkins, such under "inject enviroment variables build"?
turns out using 1.9.0 causing issue, set ant build 1.7.0 , completed
Comments
Post a Comment