diff --git a/jenkins/RO/start_build b/jenkins/RO/start_build
index abcf789fef6bb3483683b3b932279a5fee944347..b6336792ede9a4ebc7e9794b5c9021e10c170355 100755
--- a/jenkins/RO/start_build
+++ b/jenkins/RO/start_build
@@ -33,14 +33,19 @@ else
 	git clone $OSM_GIT_URL/$OSM_MDG
 	cd $OSM_MDG
 fi
+if [ $# -gt 0 ]; then
+	git checkout $1
+fi
+
 INFO "starting build"
 
 ### for start_build
 ### put your commands here to
 ### build, test and produce coverage reports
 
-#RC=0
-RC=`python -m py_compile *.py`
+rm *.pyc
+python -m py_compile *.py
+RC=$?
 
 INFO "done, RC=$RC"
 exit $RC
diff --git a/jenkins/host/start_build b/jenkins/host/start_build
index dd69799980c5d0daf9e984baf37900e5635b0aab..c3df393d75505012e1e1cd74e6b17517cd48c23c 100755
--- a/jenkins/host/start_build
+++ b/jenkins/host/start_build
@@ -25,6 +25,7 @@ OSM_JENKINS=$(dirname $HERE)
 [ $# -eq 1 ] || FATAL "arg is MDG name"
 
 export OSM_MDG=$1
+shift
 OSM_load_config
 
 if ! container_exists $OSM_BUILD_CONTAINER; then
@@ -53,7 +54,7 @@ else
     fi
 fi
 
-container_exec $OSM_BUILD_CONTAINER ./devops/jenkins/$OSM_MDG/start_build
+container_exec $OSM_BUILD_CONTAINER ./devops/jenkins/$OSM_MDG/start_build $*
 RC=$?
 INFO "$OSM_MDG build complete. Return code was $RC"
 exit $RC