remove offset 0 distribtion triggers for offset 2 CSIT
[releng/builder.git] / jenkins-scripts / controller.sh
index 2f5f94b42a46d0cfb2a13785e70ab3964fe49ed4..ab4db5e92a07ac7efd78507d507ddcf4f747d863 100755 (executable)
@@ -11,11 +11,11 @@ yum install -y sshpass
 mkdir /tmp/Hbase
 cd /tmp/Hbase
 
-wget --no-verbose https://archive.apache.org/dist/hbase/hbase-0.94.15/hbase-0.94.15.tar.gz
+wget --no-verbose http://apache.osuosl.org/hbase/hbase-0.94.27/hbase-0.94.27.tar.gz
 
 echo "Installing the Hbase Server..."
-tar -xvf hbase*.tar.gz
 
+tar -xvf hbase-0.94.27.tar.gz
 
 #Installation of Cassandra
 
@@ -23,13 +23,27 @@ tar -xvf hbase*.tar.gz
 mkdir /tmp/cassandra
 cd /tmp/cassandra
 
-wget --no-verbose http://www.eu.apache.org/dist/cassandra/2.1.12/apache-cassandra-2.1.12-bin.tar.gz
+wget --no-verbose http://apache.osuosl.org/cassandra/2.1.14/apache-cassandra-2.1.14-bin.tar.gz
 
 echo "Installing the Cassandra Server..."
-tar -xvf apache*.tar.gz
 
+tar -xvf apache-cassandra-2.1.14-bin.tar.gz
+
+# Installation of Elasticsearch node
+
+mkdir /tmp/elasticsearch
+cd /tmp/elasticsearch
+
+wget --no-verbose https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.5.tar.gz
+
+echo "Installing the Elasticsearch node..."
+
+tar -xvzf elasticsearch-1.7.5.tar.gz
 
 cat <<EOF >/etc/sudoers.d/89-jenkins-user-defaults
 Defaults:jenkins !requiretty
 jenkins     ALL = NOPASSWD: ALL
 EOF
+
+# install crudini command line tool for editing config files
+yum install -y crudini