Thanks for the reply Chris.I have tried setting the ${source} variable to
the path of my class file but Jenkins is still not compiling the class.
Should i be putting something else in here?
On Wednesday, 9 January 2013 00:21:56 UTC, Christopher Orr wrote:
>
> On 01/08/2013 11:40 AM, Justin Mulcahy wrote:
> > I may be posting this on the wrong forum but here goes. I have set up a
> > job (my First) in Jenkins to execute an ant build, the build completes
> > successfully but does not seem to be compiling my java class.
> >
> > I have attached the Build.xml file, Jenkins job configuration, Jenkins
> > JDK Installation and Jenkins Console output. Any help would be greatly
> > appreciated.
>
> Your "build-project" target runs <javac> which looks for the Java files
> in the ${source} variable.
>
> But the "source" variable never appears to be set, so there's nothing to
> compile.
>
> Also, unrelated, the "-buildfile ..." part looks unnecessary in the
> "Targets" configuration, as it seems you've specified the filename
> (buildA.xml) already in the Advanced section?
>
> Regards,
> Chris
>
>