Subject:Jenkins: about the path of build.xml Author:james mason Date:27 Aug 2018 08:32 AM Originally Posted: 27 Aug 2018 08:30 AM
I'm getting the output below when I build a job. I have my build.xml in the root of my project not in /var/lib/jenkins/jobs/mbp2/workspace/build.xml... I tried to specified the path in
> Invoke ant:
>
> Target: /home/javier/programacion/mbp/myfirm2/build.xml
but the output is the same...
I'm newbie to Jenkins(https://goo.gl/jzrGNW) and followed this tutorial (so I installed those plugins, maybe one of them is giving the error?).
Started by user anonymous
Checkout:workspace / /var/lib/jenkins/jobs/mbp2/workspace - hudson.remoting.LocalChannel@76996f0c
Using strategy: Default
Last Built Revision: Revision 9aafeea09cdb23317f2426f8209c75341565c070 (origin/HEAD, origin/master)
Checkout:workspace / /var/lib/jenkins/jobs/mbp2/workspace - hudson.remoting.LocalChannel@76996f0c
Fetching changes from 1 remote Git repository
Fetching upstream changes from file:///home/javier/programacion/mbp/myfirm
Seen branch in repository origin/HEAD
Seen branch in repository origin/master
Commencing build of Revision 9aafeea09cdb23317f2426f8209c75341565c070 (origin/HEAD, origin/master)
Checking out Revision 9aafeea09cdb23317f2426f8209c75341565c070 (origin/HEAD, origin/master)
Warning : There are multiple branch changesets here
FATAL: Unable to find build script at /var/lib/jenkins/jobs/mbp2/workspace/build.xml
Build step 'Invoke Ant' marked build as failure
Finished: FAILURE
Any help?