Allows us to simplify the Jenkins end to simply 2 commands:
git clone https://git.opendaylight.org/gerrit/releng/builder /builder
/builder/jenkins-scripts/jenkins-init-script.sh
Change-Id: I2f961c5c42b1ca1078a3205b3c18a2059408044d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
--- /dev/null
+#!/bin/bash
+# @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0>
+##############################################################################
+# Copyright (c) 2016 The Linux Foundation and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+##############################################################################
+
+cd /builder/jenkins-scripts
+chmod +x *.sh
+./system_type.sh
+
+source /tmp/system_type.sh
+./basic_settings.sh
+./create_jenkins_user.sh
+./${SYSTEM_TYPE}.sh