It was indeed a file permissions issue. I solved it by simply setting all the jenkins files and folders to be universally readable/writable.
Thx for helping :) 2015-08-17 14:05 GMT+02:00 Walter Kelt <[email protected]>: > To see if it you have a permissions issue, u can use chmod to set read > permissions on the file for user/group/other. > > You could also use chown to set a different > Owner > > Sent from my iPhone > > On Aug 17, 2015, at 7:56 AM, Matic Pajnič <[email protected]> wrote: > > If I run jenkins on user X, then user X has to be the owner of the files? > I'm asking because I also have a user called "jenkins", that's the default > owner of the files Jenkins creates when operating. > > The project files (including build.xml) are currently owned by user X. > > 2015-08-17 13:25 GMT+02:00 Walter Kelt <[email protected]>: > >> 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 >> <https://groups.google.com/d/msgid/jenkinsci-users/66ea7048-2968-4a40-b49e-6e41694922e5%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Jenkins Users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/jenkinsci-users/b3G4KdA2Fyo/unsubscribe >> . >> To unsubscribe from this group and all its topics, 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 >> <https://groups.google.com/d/msgid/jenkinsci-users/49BF8B70-F602-4CD6-8529-CA4AD057B408%40comcast.net?utm_medium=email&utm_source=footer> >> . >> >> 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/CA%2BzboHUvY-smfYymMZjYOmiWSy6FCt7tUae_chnk%3DpFU6o-S8A%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CA%2BzboHUvY-smfYymMZjYOmiWSy6FCt7tUae_chnk%3DpFU6o-S8A%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/b3G4KdA2Fyo/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/9AD9BF7A-3A10-40DC-A7FA-15331D8709A9%40comcast.net > <https://groups.google.com/d/msgid/jenkinsci-users/9AD9BF7A-3A10-40DC-A7FA-15331D8709A9%40comcast.net?utm_medium=email&utm_source=footer> > . > > 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/CA%2BzboHVEf5Tut9Sr2VGNE1bAx9wEKWwkAZ8xCz0jZk1wEiB%3DSw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
