Re: Jenkins failing to auto install JDK when JENKINS_HOME is pointing to a newly created volume/filesystem

2012-11-13 Thread Fábio Uechi
Found it! There was a problem in the fstab entry which was responsible for mounting the partition. I was using *noexec* instead of *exec.* Just had to change this: */dev/vg0/jenkins /jenkins ext4 defaults,auto,noatime,noexec 0 0* * * for this: * * */dev/vg0/jenkins /jenkins ext4 defaults,auto,n

Re: Jenkins failing to auto install JDK when JENKINS_HOME is pointing to a newly created volume/filesystem

2012-11-13 Thread Fábio Uechi
This is the exception I'm getting: Building in workspace /jenkins/workspace/teste Installing JDK jdk-6u34-oth-JPR Downloading JDK from http://download.oracle.com/otn/java/jdk/6u34-b04/jdk-6u34-linux-x64.bin Downloading 72036348bytes Installing /jenkins/tools/JDK/1.6.34/jdk.sh [1.6.34] $ /jen

Re: Jenkins failing to auto install JDK when JENKINS_HOME is pointing to a newly created volume/filesystem

2012-11-11 Thread Fábio Uechi
That's not the problem. Executable privileges,user and group are all correct. My instance was installed through "yum" which creates the user and group "jenkins" On Sunday, November 11, 2012 5:38:18 PM UTC-2, weigo wrote: > > What does a 'ls -l /jenkins/tools/JDK/jdk-1.6.24/jdk.sh' say? > > It sh

Re: Jenkins failing to auto install JDK when JENKINS_HOME is pointing to a newly created volume/filesystem

2012-11-11 Thread Dirk Weigenand
What does a 'ls -l /jenkins/tools/JDK/jdk-1.6.24/jdk.sh' say? It should report the executable bits on i.e.: -rwxr-xr-x 1 tomcat6 tomcat6 Replace tomcat6 with the respective group and user of your environment. regards Dirk On 10.11.2012 17:22, Fábio Uechi wrote: > Hi, > > I'm running

Re: Jenkins failing to auto install JDK when JENKINS_HOME is pointing to a newly created volume/filesystem

2012-11-10 Thread Fábio Uechi
Forgot to mention that JENKINS_HOME was pointing to an EXT4 filesystem created with: mke2fs -t ext4 -F /dev/vg0/jenkins

Jenkins failing to auto install JDK when JENKINS_HOME is pointing to a newly created volume/filesystem

2012-11-10 Thread Fábio Uechi
Hi, I'm running Jenkins as a daemon on Amazon Linux (standalone on winstone). I changed JENKINS_HOME (/etc/sysconfig/jenkins) to point to "*/jenkins"*instead of " */var/lib/jenkins".* The "*/jenkins*" directory is a new mount based on an EBS volume attached (/dev/sda1) to the EC2 instance. Ever