projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RO start_build updated with a minor fix in --notest option
[osm/devops.git]
/
jenkins
/
RO
/
start_build
diff --git
a/jenkins/RO/start_build
b/jenkins/RO/start_build
index
4db12ec
..
77f751d
100755
(executable)
--- a/
jenkins/RO/start_build
+++ b/
jenkins/RO/start_build
@@
-25,17
+25,29
@@
OSM_JENKINS=$(dirname $HERE)
# SET YOU MDG repository name here
export OSM_MDG=RO
OSM_load_config
# SET YOU MDG repository name here
export OSM_MDG=RO
OSM_load_config
+
+NOTEST=""
+if [ "$1" = "--notest" ]; then
+ shift
+ NOTEST="y"
+fi
+
OSM_git_checkout "$@"
OSM_git_checkout "$@"
+INFO "installing RO packages and dependencies from current repo (--noclone)"
+./scripts/install-openmano.sh --noclone --force -q
+RC=$?
+
+if [ -n "$NOTEST" ]; then
+ INFO "done, RC=$RC"
+ exit $RC
+fi
INFO "starting build"
INFO " cleaning .pyc"
rm -f *.pyc
INFO "starting build"
INFO " cleaning .pyc"
rm -f *.pyc
-INFO " installing openmano packages and dependencies from current repo (--noclone)"
-./scripts/install-openmano.sh --noclone --force -q
-
INFO " compiling *.py"
TEMPFILE="$(mktemp -q -p . "openmanolinker.XXXXXX.py")"
trap 'rm -f "$TEMPFILE"' EXIT
INFO " compiling *.py"
TEMPFILE="$(mktemp -q -p . "openmanolinker.XXXXXX.py")"
trap 'rm -f "$TEMPFILE"' EXIT