--- a/ci/ci-common.sh Mon Nov 23 14:00:53 2015 +0100
+++ b/ci/ci-common.sh Tue Nov 24 19:37:14 2015 +0100
@@ -15,17 +15,18 @@
case $(uname -n) in
swing-h-win64)
- PETITCOMPILER_DATA_DIRECTORY="E:\\workspace\\petitcompiler_test_data"
+ export PETITCOMPILER_DATA_DIRECTORY="E:\\workspace\\petitcompiler_test_data"
;;
swing-hudson-lin64)
- PETITCOMPILER_DATA_DIRECTORY="/ws/workspace/petitcompiler_test_data"
+ export PETITCOMPILER_DATA_DIRECTORY="/ws/workspace/petitcompiler_test_data"
;;
*)
- PETITCOMPILER_DATA_DIRECTORY=test-data
+ export PETITCOMPILER_DATA_DIRECTORY=test-data
;;
esac
PETITCOMPILER_BENCHMARK_REPORT=benchmark-results-$BUILD_NUMBER.json
+
function ci_download_and_unzip_file {
local url=$1
local where=$PETITCOMPILER_DATA_DIRECTORY
@@ -87,4 +88,4 @@
-H 'Content-Type: application/json' \
--data "@$PETITCOMPILER_BENCHMARK_REPORT"
fi
-}
\ No newline at end of file
+}