diff --git a/job/scala-pickling-210/run b/job/scala-pickling-210/run index fe74bd9..61af0d8 100755 --- a/job/scala-pickling-210/run +++ b/job/scala-pickling-210/run @@ -13,6 +13,16 @@ git clone git@github.com:scala/pickling.git pickling cd pickling git checkout 0.9.x +local jar="quasiquotes_2.10-2.0.0.jar" +local url="http://search.maven.org/remotecontent?filepath=org/scalamacros/quasiquotes_2.10/2.0.0/quasiquotes_2.10-2.0.0.jar" + +http_code=$(curl --fail --silent --output "$jar" "$url") +if (( $? != 0 )); then + echo "Error downloading $jar: response code: $http_code" + echo "$url" + exit 1 +fi + # STEP 2: RUN THE TESTS runSbt "project scala-pickling" test