hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkesa...@apache.org
Subject svn commit: r1155574 - in /hadoop/nightly/jenkinsSetup: ./ installTools.sh
Date Tue, 09 Aug 2011 22:22:28 GMT
Author: gkesavan
Date: Tue Aug  9 22:22:28 2011
New Revision: 1155574

URL: http://svn.apache.org/viewvc?rev=1155574&view=rev
Log:
Add jenkins tools installation script

Added:
    hadoop/nightly/jenkinsSetup/
    hadoop/nightly/jenkinsSetup/installTools.sh

Added: hadoop/nightly/jenkinsSetup/installTools.sh
URL: http://svn.apache.org/viewvc/hadoop/nightly/jenkinsSetup/installTools.sh?rev=1155574&view=auto
==============================================================================
--- hadoop/nightly/jenkinsSetup/installTools.sh (added)
+++ hadoop/nightly/jenkinsSetup/installTools.sh Tue Aug  9 22:22:28 2011
@@ -0,0 +1,67 @@
+#!/bin/sh
+
+export tools_home=/home/jenkins/tools
+
+mkdir -p $tools_home/java
+mkdir -p $tools_home/findbugs
+mkdir -p $tools_home/forrest
+mkdir -p $tools_home/maven
+mkdir -p $tools_home/ant
+mkdir -p $tools_home/eclipse
+mkdir -p $tools_home/java5
+
+echo "############ Installing Jdk-1.6 ##################"
+cd $tools_home/java
+wget http://download.oracle.com/otn-pub/java/jdk/6u26-b03/jdk-6u26-linux-i586.bin 
+chmod 755 jdk-6u26-linux-i586.bin
+./jdk-6u26-linux-i586.bin -noregister
+rm -f jdk-6u26-linux-i586.bin
+ln -s $tools/home/java/jdk1.6.0_26 latest
+cd - 
+
+echo "########## Installing forrest ################"
+cd $tools_home/forrest
+wget http://www.alliedquotes.com/mirrors/apache//forrest/apache-forrest-0.9.tar.gz
+tar xzf apache-forrest-0.9.tar.gz
+rm -f apache-forrest-0.9.tar.gz
+ln -s $tools_home/forrest/apache-forrest-0.9 latest
+cd -
+
+echo "########### Installing findbugs #############"
+cd $tools_home/findbugs
+wget http://cdnetworks-us-2.dl.sourceforge.net/project/findbugs/findbugs/1.3.9/findbugs-1.3.9.tar.gz
+tar xvzf findbugs-1.3.9.tar.gz
+rm -f findbugs-1.3.9.tar.gz
+ln -s $tools_home/findbugs/findbugs-1.3.9 latest 
+cd -
+
+echo "############ Installing eclipse ##############"
+cd $tools_home/eclipse
+wget http://carroll.aset.psu.edu/pub/eclipse/technology/epp/downloads/release/galileo/SR2/eclipse-java-galileo-SR2-linux-gtk-x86_64.tar.gz
+tar xvzf  eclipse-java-galileo-SR2-linux-gtk-x86_64.tar.gz
+rm -rf eclipse-java-galileo-SR2-linux-gtk-x86_64.tar.gz
+ln -s $tools_home/eclipse/eclipse latest
+cd -
+
+echo "##########  Installing apache ant ###########"
+cd $tools_home/ant
+wget http://archive.apache.org/dist/ant/binaries/apache-ant-1.7.1-bin.tar.gz
+tar xvzf apache-ant-1.7.1-bin.tar.gz
+rm -rf apache-ant-1.7.1-bin.tar.gz
+ln -s $tools_home/ant/apache-ant-1.7.1 latest
+
+
+echo "##########  Installing maven ##############"
+cd $tools_home/maven
+wget http://mirror.olnevhost.net/pub/apache//maven/binaries/apache-maven-3.0.3-bin.zip
+unzip apache-maven-3.0.3-bin.zip
+rm -f apache-maven-3.0.3-bin.zip
+ln -s $tools_home/maven/apache-maven-3.0.3 latest
+ 
+echo "######### Installing java5 ##############"
+cd $tools_home/java5
+wget http://download.oracle.com/otn-pub/java/jdk/1.5.0_22//jdk-1_5_0_22-linux-i586.bin
+chmod 755 jdk-1_5_0_22-linux-i586.bin
+./jdk-1_5_0_22-linux-i586.bin -noregister
+ln -s $tools_home/java5/jdk1.5.0_22 latest
+rm -f jdk-1_5_0_22-linux-i586.bin 



Mime
View raw message