Linux Foundation Administrators | 0fae409 | 2018-01-29 10:58:36 -0800 | [diff] [blame] | 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 |
Linux Foundation Administrators | 0fae409 | 2018-01-29 10:58:36 -0800 | [diff] [blame] | 16 | |
Zack Williams | e05f754 | 2021-02-09 17:14:21 -0700 | [diff] [blame] | 17 | # create system type script and source it |
| 18 | ./system_type.sh |
Linux Foundation Administrators | 0fae409 | 2018-01-29 10:58:36 -0800 | [diff] [blame] | 19 | source /tmp/system_type.sh |
Zack Williams | e05f754 | 2021-02-09 17:14:21 -0700 | [diff] [blame] | 20 | |
| 21 | # run basic settings |
Linux Foundation Administrators | 0fae409 | 2018-01-29 10:58:36 -0800 | [diff] [blame] | 22 | ./basic_settings.sh |
Zack Williams | e05f754 | 2021-02-09 17:14:21 -0700 | [diff] [blame] | 23 | |
| 24 | # run per system-type script, if it exists |
Linux Foundation Administrators | 0fae409 | 2018-01-29 10:58:36 -0800 | [diff] [blame] | 25 | if [ -f "${SYSTEM_TYPE}.sh" ] |
| 26 | then |
| 27 | ./"${SYSTEM_TYPE}.sh" |
| 28 | fi |
| 29 | |
| 30 | # Create the jenkins user last so that hopefully we don't have to deal with |
| 31 | # guard files |
| 32 | ./create_jenkins_user.sh |