From: Ed Kern Date: Thu, 14 Feb 2019 17:26:07 +0000 (-0700) Subject: Sweetcomb: container build detection X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=6181d43d73860015d7ed43f57d1f208719890b59;p=ci-management.git Sweetcomb: container build detection Always true line added to assist with build server device detection Change-Id: Ibe283c2a02ba88a588901c94a2b6bdbfc188b061 Signed-off-by: Ed Kern --- diff --git a/jjb/sweetcomb/include-raw-sweetcomb-build.sh b/jjb/sweetcomb/include-raw-sweetcomb-build.sh index 8f12a9dd9..b03b0ef53 100644 --- a/jjb/sweetcomb/include-raw-sweetcomb-build.sh +++ b/jjb/sweetcomb/include-raw-sweetcomb-build.sh @@ -2,6 +2,9 @@ # basic build script example set -xe -o pipefail +##container server node detection +grep search /etc/resolv.conf || true + OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g') OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')