Gitlab is now using as it's primary address. Please update your bookmarks. FAQ.

Commit 821a825d authored by Piotr Gawron's avatar Piotr Gawron
Browse files

curl shouldn't retry

parent 92dee949
apt-get update
apt-get install -y curl lsb-release
version=`lsb_release -r -s`
name=`lsb_release -i -s`
set -e
mkdir $directory
cp badge_fail.svg $directory/badge.svg
apt-get update
apt-get install -y curl lsb-release
lsb_release -a > $directory/info.txt
echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
......@@ -28,7 +25,7 @@ sleep 15
wget http://localhost:8080/minerva/
#test if we can login and get configuration data
test 200 = $(curl --write-out %{http_code} --silent --output /dev/null -c cookie.txt http://localhost:8080/minerva/api/doLogin)
test 200 = $(curl --write-out %{http_code} --silent --output configuration.json --cookie cookie.txt http://localhost:8080/minerva/api/configuration/)
test 200 = $(curl --retry 0 --write-out %{http_code} --silent --output /dev/null -c cookie.txt http://localhost:8080/minerva/api/doLogin)
test 200 = $(curl --retry 0 --write-out %{http_code} --silent --output configuration.json --cookie cookie.txt http://localhost:8080/minerva/api/configuration/)
cp badge_pass.svg $directory/badge.svg
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment