Does the cache look something like this??
[jenkins@<Some> cache]$ ll -lrt jars/
total 120
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:16 49
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:16 F4
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:16 99
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:16 6C
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:16 30
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:16 A3
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:16 33
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:16 31
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:16 BF
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:16 0B
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:16 DB
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:16 9B
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:16 36
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:16 C2
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:16 5E
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:16 27
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:17 21
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:17 F2
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:17 CA
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:17 9A
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:17 7A
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:17 78
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:17 43
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:17 23
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:17 85
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:17 25
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:17 E3
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:43 84
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:43 CD
drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 02:43 2C
[jenkins@<Some> cache]$
Please help as I possibly do not know where my $JENKINS_HOME points to. And still the above reported error persists.
Jenkins 1.459 running on RH 4.1.2
Building in workspace /var/lib/jenkins/jobs/RITU-nightly/workspace
Installing /var/lib/jenkins/tools/1.6.0_24/jdk.sh
[1.6.0_24] $ /var/lib/jenkins/tools/1.6.0_24/jdk.sh -noregister
/var/lib/jenkins/tools/1.6.0_24/jdk.sh: line 1: html: No such file or directory
/var/lib/jenkins/tools/1.6.0_24/jdk.sh: line 2: head: No such file or directory
/var/lib/jenkins/tools/1.6.0_24/jdk.sh: line 3: title: No such file or directory
/var/lib/jenkins/tools/1.6.0_24/jdk.sh: line 4: META: No such file or directory
/var/lib/jenkins/tools/1.6.0_24/jdk.sh: line 5: link: No such file or directory
/var/lib/jenkins/tools/1.6.0_24/jdk.sh: line 6: link: No such file or directory
/var/lib/jenkins/tools/1.6.0_24/jdk.sh: line 7:
: command not found
/var/lib/jenkins/tools/1.6.0_24/jdk.sh: line 8: body: No such file or directory
/var/lib/jenkins/tools/1.6.0_24/jdk.sh: line 9: div: No such file or directory
/var/lib/jenkins/tools/1.6.0_24/jdk.sh: line 10: table: No such file or directory
/var/lib/jenkins/tools/1.6.0_24/jdk.sh: line 11: tr: No such file or directory
/var/lib/jenkins/tools/1.6.0_24/jdk.sh: line 12: syntax error near unexpected token `<'
/var/lib/jenkins/tools/1.6.0_24/jdk.sh: line 12: ` <td rowspan="2" valign="middle" nowrap><a href="http://www.oracle.com"><img src="/errors/us/assets/oralogo-small.gif" width="154" height="19" hspace="10" vspace="25" border="0" ></a></td>
'
ERROR: Failed to install JDK. Exit code=2