Thanks rginga, The problem is I don't understand what it's doing so it's difficult to tailor/change it to work how I want :-)
Regarding the JUnit test results; there are on github and I know the repo structure; is that what you mean? On Wednesday, March 25, 2015 at 12:32:38 PM UTC, rginga wrote: > > There is nothing wrong with your approach below. Figure out where the > junit test results are being placed and you can use the publish junit > plugin to create a nice chart on the build page. > > > > *From:* [email protected] <javascript:> [mailto: > [email protected] <javascript:>] *On Behalf Of *simon drake > *Sent:* Wednesday, March 25, 2015 7:00 AM > *To:* [email protected] <javascript:> > *Subject:* Re: Running Github Java Files > > > > 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] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/00e71efe-828c-4775-b81b-7c70e39f7de2%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-users/00e71efe-828c-4775-b81b-7c70e39f7de2%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 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/6e77b407-b890-45b1-b109-8feb660fd416%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
