|
|
@ -54,9 +54,9 @@ node() { |
|
|
sh """set -e |
|
|
sh """set -e |
|
|
echo "Public Staging Base URL is ${proxy.sandbox_endpoint}" |
|
|
echo "Public Staging Base URL is ${proxy.sandbox_endpoint}" |
|
|
echo "userkey is ${userkey}" |
|
|
echo "userkey is ${userkey}" |
|
|
curl -sfk -w "ListBeers: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/location -H 'api-key: ${userkey}' |
|
|
curl -sfk -w "GetLocation: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/location -H 'api-key: ${userkey}' |
|
|
curl -sfk -w "GetBeer: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/timeframe -H 'api-key: ${userkey}' |
|
|
curl -sfk -w "GetTimeframe: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/timeframe -H 'api-key: ${userkey}' |
|
|
curl -sfk -w "FindBeersByStatus: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/participants -H 'api-key: ${userkey}' |
|
|
curl -sfk -w "GetParticipants: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/participants -H 'api-key: ${userkey}' |
|
|
""" |
|
|
""" |
|
|
|
|
|
|
|
|
// Promote to production |
|
|
// Promote to production |
|
|
@ -105,9 +105,9 @@ node() { |
|
|
sh """set -e |
|
|
sh """set -e |
|
|
echo "Public Staging Base URL is ${proxy.sandbox_endpoint}" |
|
|
echo "Public Staging Base URL is ${proxy.sandbox_endpoint}" |
|
|
echo "userkey is ${userkey}" |
|
|
echo "userkey is ${userkey}" |
|
|
curl -sfk -w "ListBeers: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/location -H 'api-key: ${userkey}' |
|
|
curl -sfk -w "GetLocation: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/location -H 'api-key: ${userkey}' |
|
|
curl -sfk -w "GetBeer: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/timeframe -H 'api-key: ${userkey}' |
|
|
curl -sfk -w "GetTimeframe: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/timeframe -H 'api-key: ${userkey}' |
|
|
curl -sfk -w "FindBeersByStatus: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/participants -H 'api-key: ${userkey}' |
|
|
curl -sfk -w "GetParticipants: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/participants -H 'api-key: ${userkey}' |
|
|
""" |
|
|
""" |
|
|
|
|
|
|
|
|
// Promote to production |
|
|
// Promote to production |
|
|
@ -156,9 +156,9 @@ node() { |
|
|
sh """set -e |
|
|
sh """set -e |
|
|
echo "Public Staging Base URL is ${proxy.sandbox_endpoint}" |
|
|
echo "Public Staging Base URL is ${proxy.sandbox_endpoint}" |
|
|
echo "userkey is ${userkey}" |
|
|
echo "userkey is ${userkey}" |
|
|
curl -sfk -w "ListBeers: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/location -H 'api-key: ${userkey}' |
|
|
curl -sfk -w "GetLocation: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/location -H 'api-key: ${userkey}' |
|
|
curl -sfk -w "GetBeer: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/timeframe -H 'api-key: ${userkey}' |
|
|
curl -sfk -w "GetTimeframe: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/timeframe -H 'api-key: ${userkey}' |
|
|
curl -sfk -w "FindBeersByStatus: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/participants -H 'api-key: ${userkey}' |
|
|
curl -sfk -w "GetParticipants: %{http_code}\n" -o /dev/null ${proxy.sandbox_endpoint}/api/participants -H 'api-key: ${userkey}' |
|
|
""" |
|
|
""" |
|
|
|
|
|
|
|
|
// Promote to production |
|
|
// Promote to production |
|
|
|