X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jenkins-scripts%2Fsystem_type.sh;h=c5b141afd47d859d9384915f0247f905c0bd2748;hb=a65451bc04b40633e89fe507fc119b9a65cc96a4;hp=4d8c8c77088a3a0b6102f392347e07c9107cd7fd;hpb=a4643ee26933eb91ccda01c58dee6162586d9827;p=releng%2Fbuilder.git diff --git a/jenkins-scripts/system_type.sh b/jenkins-scripts/system_type.sh index 4d8c8c770..c5b141afd 100755 --- a/jenkins-scripts/system_type.sh +++ b/jenkins-scripts/system_type.sh @@ -1,6 +1,5 @@ #!/bin/bash - -# @License EPL-1.0 +# SPDX-License-Identifier: EPL-1.0 ############################################################################## # Copyright (c) 2016 The Linux Foundation and others. # @@ -10,18 +9,18 @@ # http://www.eclipse.org/legal/epl-v10.html ############################################################################## -HOST=$(/usr/bin/hostname) +HOST=$(/bin/hostname) SYSTEM_TYPE='' IFS=',' -for i in "autorelease,autorelease" \ +for i in "java-builder,builder" \ "builder,builder" \ "devstack,devstack" \ "docker,docker" \ - "java,controller" \ - "matrix,matrix" \ + "gbp,ubuntu-docker-ovs" \ + "kubernetes,mininet-ubuntu" \ "robot,robot" \ - "ubuntu-trusty-mininet,ubuntu-mininet" + "mininet,mininet-ubuntu" do set -- $i if [[ $HOST == *"$1"* ]]; then SYSTEM_TYPE="$2"