Does the file have proper permissions so that it is readable by Jenkins ? Sent from my iPhone
> On Aug 17, 2015, at 7:17 AM, Janez Novak <[email protected]> wrote: > > Hi, > > I'm trying to build a simple example project (available here: > http://eureka.ykyuen.info/2013/10/03/apache-ant-a-simple-ant-build-project/) > just to see how Jenkins works (I'm new to it and Continuous Integration in > general). I tried to do it by following a tutorial (available here: > http://eureka.ykyuen.info/2013/10/04/jenkins-setup-a-simple-ant-build-project/). > > > When I start the build from Jenkins, the build fails and this is the build > log: > > --------------------------------------------------------------------------------------------------------------------------- > Building in workspace /var/lib/jenkins/workspace/com-eureka > FATAL: Unable to find build script at > /var/lib/jenkins/workspace/com-eureka/build.xml > Build step 'Invoke Ant' marked build as failure > Finished: FAILURE > --------------------------------------------------------------------------------------------------------------------------- > > As you can see, the name of my example project is "com-eureka", and it is > located in the /var/lib/jenkins/workspace/ folder. > Based on the tutorial, the build.xml file should be located in the > /var/lib/jenkins/workspace/com-eureka folder. > I've checked and the file is indeed there, but is seems as though Jenkins > can't see it. > > I'm running Jenkins on localhost, I'm using Ant (I tried with versions 1.9.2 > and 1.9.6; I set the Jenkins configuration to download and install Ant > automatically). > -- > 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/66ea7048-2968-4a40-b49e-6e41694922e5%40googlegroups.com. > 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/49BF8B70-F602-4CD6-8529-CA4AD057B408%40comcast.net. For more options, visit https://groups.google.com/d/optout.
