title: Continuous Integration - Jenkins not invoking WedDriver test
body: <p>I'm trying to use jenkins to run selenium webdriver test (continuous integration) but so far I've had no success at all. My setup:
  - eclipse
  - testng
  - ant (build.xml files)
  - jenkins
  - everything is hosted locally
  I'm running my test in parallel (1 test, 3 browsers) and this works fine if I run the testng file, if I run the ant file (build.xml) it says 'build successful' but nothing happens if also run this same file in jenkins it says the same thing 'build successful' but again nothing happens.  From this I can deduce that jenkins is running the correct file but its just not executing the test.  I've even tried to use maven but I don't understand it so the code doesn't even compile when I take this route.
  Can someone help me and point me in the right direction because I believe I'm missing something.  I've included a photo of my jenkins set and below is a copy of my ant file:</p>
  
  <pre><code>![&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
  &lt;!-- WARNING: Eclipse auto-generated file.
                Any modifications will be overwritten.
                To include a user specific buildfile here, simply create one in the same
                directory with the processing instruction &lt;?eclipse.ant.import?&gt;
                as the first entry and export the buildfile again. --&gt;&lt;project basedir="." default="build" name="jenkins_run_selenium"&gt;
      &lt;property environment="env"/&gt;
      &lt;property name="ECLIPSE_HOME" value="../../../Program Files (x86)/eclipse-standard-kepler-R-win32-x86_64/Eclipse"/&gt;
      &lt;property name="junit.output.dir" value="junit"/&gt;
      &lt;property name="debuglevel" value="source,lines,vars"/&gt;
      &lt;property name="target" value="1.7"/&gt;
      &lt;property name="source" value="1.7"/&gt;
      &lt;path id="jenkins_run_selenium.classpath"&gt;
          &lt;pathelement location="bin"/&gt;
          &lt;pathelement location="../../../Program Files (x86)/Eclipse/selenium-2.40.0/selenium-java-2.40.0-srcs.jar"/&gt;
          &lt;pathelement location="../../../Program Files (x86)/Eclipse/selenium-2.40.0/selenium-server-standalone-2.40.0.jar"/&gt;
          &lt;pathelement location="../Desktop/Jar Files and Sources/testng-6.8.5-javadoc.jar"/&gt;
          &lt;pathelement location="../Desktop/Jar Files and Sources/testng-6.8.jar"/&gt;
      &lt;/path&gt;
      &lt;target name="init"&gt;
          &lt;mkdir dir="bin"/&gt;
          &lt;copy includeemptydirs="false" todir="bin"&gt;
              &lt;fileset dir="src"&gt;
                  &lt;exclude name="**/*.launch"/&gt;
                  &lt;exclude name="**/*.java"/&gt;
              &lt;/fileset&gt;
          &lt;/copy&gt;
      &lt;/target&gt;
      &lt;target name="clean"&gt;
          &lt;delete dir="bin"/&gt;
      &lt;/target&gt;
      &lt;target depends="clean" name="cleanall"/&gt;
      &lt;target depends="build-subprojects,build-project" name="build"/&gt;
      &lt;target name="build-subprojects"/&gt;
      &lt;target depends="init" name="build-project"&gt;
          &lt;echo message="${ant.project.name}: ${ant.file}"/&gt;
          &lt;javac debug="true" debuglevel="${debuglevel}" destdir="bin" includeantruntime="false" source="${source}" target="${target}"&gt;
              &lt;src path="src"/&gt;
              &lt;classpath refid="jenkins_run_selenium.classpath"/&gt;
          &lt;/javac&gt;
      &lt;/target&gt;
      &lt;target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/&gt;
      &lt;target description="copy Eclipse compiler jars to ant lib directory" name="init-eclipse-compiler"&gt;
          &lt;copy todir="${ant.library.dir}"&gt;
              &lt;fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/&gt;
          &lt;/copy&gt;
          &lt;unzip dest="${ant.library.dir}"&gt;
              &lt;patternset includes="jdtCompilerAdapter.jar"/&gt;
              &lt;fileset dir="${ECLIPSE_HOME}/plugins" includes="org.eclipse.jdt.core_*.jar"/&gt;
          &lt;/unzip&gt;
      &lt;/target&gt;
      &lt;target description="compile project with Eclipse compiler" name="build-eclipse-compiler"&gt;
          &lt;property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/&gt;
          &lt;antcall target="build"/&gt;
      &lt;/target&gt;
      &lt;target name="jenkins_run_selenium"&gt;
          &lt;mkdir dir="${junit.output.dir}"/&gt;
          &lt;junit fork="yes" printsummary="withOutAndErr"&gt;
              &lt;formatter type="xml"/&gt;
              &lt;classpath refid="jenkins_run_selenium.classpath"/&gt;
          &lt;/junit&gt;
      &lt;/target&gt;
      &lt;target name="junitreport"&gt;
          &lt;junitreport todir="${junit.output.dir}"&gt;
              &lt;fileset dir="${junit.output.dir}"&gt;
                  &lt;include name="TEST-*.xml"/&gt;
              &lt;/fileset&gt;
              &lt;report format="frames" todir="${junit.output.dir}"/&gt;
          &lt;/junitreport&gt;
      &lt;/target&gt;
  &lt;/project&gt;][1]
  </code></pre>