fix: testing behaviour
This commit is contained in:
parent
6c6e5023da
commit
c3ad561418
2 changed files with 7 additions and 2 deletions
tests
|
@ -16,7 +16,12 @@ cd $working_dir
|
|||
|
||||
git clone --quiet ssh://git@git.serguzim.me:3022/emgauwa/controller.git controller || exit
|
||||
pushd ./controller > /dev/null
|
||||
git checkout $2
|
||||
|
||||
git checkout dev >/dev/null 2>&1
|
||||
git checkout $(git rev-parse --abbrev-ref HEAD) >/dev/null 2>&1
|
||||
git checkout $2 >/dev/null 2>&1
|
||||
|
||||
echo "Building controller on branch $(git rev-parse --abbrev-ref HEAD)"
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue