i use Linux Centos 7 + git + ant
trying to build my first project build.xml <project name="simpleCompile" basedir="."> <property name="src.dir" value="src" /> <property name="build.dir" value="build" /> <property name="classes.dir" value="${build.dir}/classes" /> <property name="jar.dir" value="${build.dir}/jar" /> <property name="main-class" value="sample.Sample" /> <target name="clean"> <delete dir="${classes.dir}" /> </target> <path id="classpath"> <fileset dir="${jar.dir}"> <include name="*.jar" /> </fileset> <fileset dir="${classes.dir}"> <include name="/*.class" /> </fileset> </path> <target name="compile"> <mkdir dir="${classes.dir}" /> <javac srcdir="${src.dir}" destdir="${classes.dir}" debug="true" > <classpath refid="classpath" /> </javac> </target> <target name="jar" depends="compile"> <mkdir dir="${jar.dir}" /> <jar destfile="${jar.dir}/${ant.project.name}.jar" basedir="${classes.dir}"> <manifest> <attribute name="Main-Class" value="${main-class}" /> </manifest> </jar> </target> <target name="clean-build" depends="clean,jar" /> </project> log: Started by user anonymous <http://localhost:8080/user/null> Building in workspace /var/lib/jenkins/workspace/sudoku > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url /home/sudoku # timeout=10 Fetching upstream changes from /home/sudoku > /usr/bin/git --version # timeout=10 > /usr/bin/git -c core.askpass=true fetch --tags --progress /home/sudoku > +refs/heads/*:refs/remotes/origin/* > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # > timeout=10 Checking out Revision dda3482f283897aaac6714368d38e801879700cf (refs/remotes/origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f dda3482f283897aaac6714368d38e801879700cf > /usr/bin/git rev-list dda3482f283897aaac6714368d38e801879700cf # timeout=10 [sudoku] $ ant Buildfile: /var/lib/jenkins/workspace/sudoku/build.xml BUILD SUCCESSFULTotal time: 0 seconds Finished: SUCCESS but it not working, i can't find any folders and jar file -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8bed5d43-9494-4aa7-83d4-cae6ed62700f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.