Sorry - I've looked into Ant quite a lot this morning but I'm still not 
100% what it is or what it does!? 

So my setup (currently) is as follows: 

JUnit Code (Eclipse) --> Github (Private Repo) --> Jenkins

I have actually been able to get the job to run on Jenkins, through GitHub 
by doing the following (which I was able to copy and paste but don't 
understand what it's doing....)

*Source Code Management: *Git
Add in URL/Credentials

*Branches to build: **/master


*Execute Windows batch command:*
cd C:\Jenkins\workspace\{RepoName}\src
set CLASSPATH=.;%CLASSPATH%;C:\SeleniumJars\junit-4.11.jar;C:\SeleniumJars\
selenium-server-standalone-2.45.0.jar 
javac {classname}.java
java org.junit.runner.JUnitCore {classname}


I now know of Maven/Ant but I don't know a lot about them at all - if there 
is a better way to integrate these systems I'd be most welcome if someone 
could tell me :-)



-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/00e71efe-828c-4775-b81b-7c70e39f7de2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to