summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/ci-scripts/jenkins-build-script.sh
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-04-18 23:03:36 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-04-18 23:28:00 +0900
commitc2e7632397c2e49fdfb0f2b8e42d0321bf00c38d (patch)
tree61f9ab1f6fb2c6ea01d09089d958fe020cf57fdc /test/scenario_test/ci-scripts/jenkins-build-script.sh
parentc8cb20e75bb830f1a9fe1037356a4007faaba04d (diff)
Revert "test/lib/gobgp: Use local GoBGP executables in contaier"
This reverts commit 47ab84e34caeb7c89b26271bf84959011bc8ed19. using the same binaries on a host and inside a container isn't always feasible (by default, not statically linked binary). Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test/ci-scripts/jenkins-build-script.sh')
-rw-r--r--test/scenario_test/ci-scripts/jenkins-build-script.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/scenario_test/ci-scripts/jenkins-build-script.sh b/test/scenario_test/ci-scripts/jenkins-build-script.sh
index 64b14c63..6baf2193 100644
--- a/test/scenario_test/ci-scripts/jenkins-build-script.sh
+++ b/test/scenario_test/ci-scripts/jenkins-build-script.sh
@@ -33,10 +33,11 @@ do
done
sudo docker rmi $GOBGP_IMAGE
+sudo fab -f $GOBGP/test/lib/base.py make_gobgp_ctn:tag=$GOBGP_IMAGE
+[ "$?" != 0 ] && exit "$?"
-cd $GOBGP
-$GOROOT/bin/go get -v ./gobgp/
-$GOROOT/bin/go get -v ./gobgpd/
+cd $GOBGP/gobgpd
+$GOROOT/bin/go get -v
cd $GOBGP/test/scenario_test
./run_all_tests.sh