Skip to content
Snippets Groups Projects
Commit 6aff2497 authored by garciadeblas's avatar garciadeblas
Browse files

RO start_build incorporating GERRIT_REFSPEC and GIT_COMMIT


Change-Id: Iea8491a005c525c5f37c847006e9b54a3b7ba564
Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent 56ad727c
No related branches found
No related tags found
No related merge requests found
......@@ -38,9 +38,8 @@ fi
if [ $# -gt 0 ]; then
INFO "Code to compile: gerrit refspec '$1', commit-id: '$2'"
FATAL "Testing"
#git fetch origin $1 || FATAL "git fetch origin '$1' didn't work"
#git checkout -f $2 || FATAL "git checkout -f '$2' didn't work"
git fetch origin $1 || FATAL "git fetch origin '$1' didn't work"
git checkout -f $2 || FATAL "git checkout -f '$2' didn't work"
else
INFO "Code to compile: master"
git checkout master
......@@ -48,10 +47,6 @@ fi
INFO "starting build"
### for start_build
### put your commands here to
### build, test and produce coverage reports
rm *.pyc
python -m py_compile *.py
RC=$?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment