X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=jenkins-scripts%2Fjenkins-init-script.sh;fp=jenkins-scripts%2Fjenkins-init-script.sh;h=67987b54d20f8ca45c56f37dc12ca7828eb96007;hb=ebc710af742601214491c5b2b9a4f6847d235d6c;hp=0000000000000000000000000000000000000000;hpb=dcd560890f549f999e0ebe437dcc180bbc628d0b;p=ci-management.git diff --git a/jenkins-scripts/jenkins-init-script.sh b/jenkins-scripts/jenkins-init-script.sh new file mode 100755 index 000000000..67987b54d --- /dev/null +++ b/jenkins-scripts/jenkins-init-script.sh @@ -0,0 +1,27 @@ +#!/bin/bash +# @License 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 +############################################################################## + +# vim: ts=4 sw=4 sts=4 et : + +cd /ci-management/jenkins-scripts +chmod +x ./*.sh +./system_type.sh + +source /tmp/system_type.sh +./basic_settings.sh +if [ -f "${SYSTEM_TYPE}.sh" ] +then + ./"${SYSTEM_TYPE}.sh" +fi + +# Create the jenkins user last so that hopefully we don't have to deal with +# guard files +./create_jenkins_user.sh