Merge "Migrate to gerrit-maven-stage (CLAMP)"
[ci-management.git] / jenkins-scripts / jenkins-init-script.sh
1 #!/bin/bash
2 # @License EPL-1.0 <http://spdx.org/licenses/EPL-1.0>
3 ##############################################################################
4 # Copyright (c) 2016 The Linux Foundation and others.
5 #
6 # All rights reserved. This program and the accompanying materials
7 # are made available under the terms of the Eclipse Public License v1.0
8 # which accompanies this distribution, and is available at
9 # http://www.eclipse.org/legal/epl-v10.html
10 ##############################################################################
11
12 # vim: ts=4 sw=4 sts=4 et :
13
14 cd /ci-management/jenkins-scripts
15 chmod +x ./*.sh
16 ./system_type.sh
17
18 source /tmp/system_type.sh
19 ./basic_settings.sh
20 if [ -f "${SYSTEM_TYPE}.sh" ]
21 then
22     ./"${SYSTEM_TYPE}.sh"
23 fi
24
25 # Create the jenkins user last so that hopefully we don't have to deal with
26 # guard files
27 ./create_jenkins_user.sh
28
29 # Nexus3 port forwarding rules for ARM64
30 ./nexus3_port_forwarding.sh