From 158d1d3b49a43bbe71588a58d8875e2485521f18 Mon Sep 17 00:00:00 2001
From: Jeremy Mordkoff <jeremy.mordkoff@riftio.com>
Date: Tue, 13 Sep 2016 10:40:15 -0400
Subject: [PATCH] make sure that sudo and make are installed before invoking
 the MDG build script

Signed-off-by: Jeremy Mordkoff <jeremy.mordkoff@riftio.com>
---
 jenkins/host/start_build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/jenkins/host/start_build b/jenkins/host/start_build
index 555b8a26..d026fae1 100755
--- a/jenkins/host/start_build
+++ b/jenkins/host/start_build
@@ -37,9 +37,9 @@ if ! container_exists $OSM_BUILD_CONTAINER; then
 	wait_container_up $OSM_BUILD_CONTAINER
 	RE="fedora|fc[0-9]"
 	if [[ $OSM_BASE_IMAGE =~ $RE ]]; then
-		container_exec $OSM_BUILD_CONTAINER yum -y install git tar
+		container_exec $OSM_BUILD_CONTAINER yum -y install git tar make sudo
 	else
-		container_exec $OSM_BUILD_CONTAINER apt -y install git realpath
+		container_exec $OSM_BUILD_CONTAINER apt -y install git realpath make sudo 
 	fi
     if [ ${OSM_USE_LOCAL_DEVOPS:-false} ]; then
         container_push_devops $OSM_BUILD_CONTAINER
-- 
GitLab