X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=jjb%2Ftrex%2Finclude-raw-trex-build.sh;h=4fe22b5565da6a530d5311cd29861079be573bab;hb=a43138e041f717211d6b8f20d8d474c810c98174;hp=24049ac0b87a986e6f97db71fa5fd1a65f63da0f;hpb=cfb0dbb8acb0d62ae924e094cf9ff717fdbd293e;p=ci-management.git diff --git a/jjb/trex/include-raw-trex-build.sh b/jjb/trex/include-raw-trex-build.sh index 24049ac0b..4fe22b556 100644 --- a/jjb/trex/include-raw-trex-build.sh +++ b/jjb/trex/include-raw-trex-build.sh @@ -1,53 +1,26 @@ #!/bin/bash -ex -# emulate unique name for now -GERRIT_NEWREV=hash`date +%s%N` -WS=${PWD}/$GERRIT_NEWREV - -# temporary don't fail -set +e - -function clean_ws { - rm -rf "$WS" -} -trap clean_ws EXIT - -echo "$WS" -clean_ws -mkdir "$WS" -cd "$WS" - -# cloning - -git clone https://github.com/cisco-system-traffic-generator/trex-core.git -git clone https://github.com/cisco-system-traffic-generator/trex-doc.git -ls -l - # building core -cd trex-core/linux_dpdk +cd linux_dpdk ./b configure ./b build cd - -cd trex-core/linux +cd linux ./b configure ./b build cd - -which asciidoc -which sphinx-build -which dblatex -which python -which python3 -which pip - # building docs +# Commented out to trex-docs is integrated into trex repo -cd trex-doc -./b configure -./b build -cd - +#cd trex-doc +#./b configure +#./b build +#cd - -echo Done +echo "*******************************************************************" +echo "* TREX BUILD SUCCESSFULLY COMPLETED" +echo "*******************************************************************"