X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jenkins-scripts%2Fjenkins-init-script.sh;h=e79228f336442c5164aded132bf7455a0bf7e21b;hb=3ad4ba90b269387addbda3419b61a0953282c380;hp=dfb5ee8587b420f2c3069cfc26eb79a87a2ceb35;hpb=068e735e2af8250406d90c9195aad851d60cd2ad;p=releng%2Fbuilder.git diff --git a/jenkins-scripts/jenkins-init-script.sh b/jenkins-scripts/jenkins-init-script.sh index dfb5ee858..e79228f33 100755 --- a/jenkins-scripts/jenkins-init-script.sh +++ b/jenkins-scripts/jenkins-init-script.sh @@ -1,5 +1,5 @@ #!/bin/bash -# @License EPL-1.0 +# SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2016 The Linux Foundation and others. # @@ -9,11 +9,18 @@ # http://www.eclipse.org/legal/epl-v10.html ############################################################################## -cd /builder/jenkins-scripts -chmod +x *.sh +cd /builder/jenkins-scripts || exit 1 +chmod +x -- *.sh ./system_type.sh +# shellcheck disable=SC1091 source /tmp/system_type.sh ./basic_settings.sh +"./${SYSTEM_TYPE}.sh" + +# Create the jenkins user last so that hopefully we don't have to deal with +# guard files ./create_jenkins_user.sh -./${SYSTEM_TYPE}.sh + +## add local environment changes post scripts +./jenkins-init-script-local-env.sh