diff options
author | Ed Kern <ejk@cisco.com> | 2019-02-14 10:26:07 -0700 |
---|---|---|
committer | Ed Kern <ejk@cisco.com> | 2019-02-14 10:26:07 -0700 |
commit | 6181d43d73860015d7ed43f57d1f208719890b59 (patch) | |
tree | 5cdc528ca096583bca0f47fd3360837eafb6abff /jjb | |
parent | 4b64bb80416e67acacb3408b6703a1f39ca8e195 (diff) |
Sweetcomb: container build detection
Always true line added to assist with build server device
detection
Change-Id: Ibe283c2a02ba88a588901c94a2b6bdbfc188b061
Signed-off-by: Ed Kern <ejk@cisco.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/sweetcomb/include-raw-sweetcomb-build.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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') |