mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 00:06:55 -06:00
fixed a bug, removed '-it' as jenkins does not have interactive shell
This commit is contained in:
@@ -62,7 +62,7 @@ do
|
|||||||
SUCCESS=false
|
SUCCESS=false
|
||||||
for i in {1..30}
|
for i in {1..30}
|
||||||
do
|
do
|
||||||
STATUS=$(docker exec -it test-new-image curl -u admin:$ARTIFACTORY_PASSWORD http://localhost:8082/router/api/v1/system/health | jq .services[0].state)
|
STATUS=$(docker exec test-new-image curl -u admin:$ARTIFACTORY_PASSWORD http://localhost:8082/router/api/v1/system/health | jq .services[0].state)
|
||||||
if [ "$STATUS" == "\"HEALTHY\"" ]; then
|
if [ "$STATUS" == "\"HEALTHY\"" ]; then
|
||||||
echo "Build successful!"
|
echo "Build successful!"
|
||||||
SUCCESS=true
|
SUCCESS=true
|
||||||
|
|||||||
Reference in New Issue
Block a user