Skip to content

Commit 7390d90

Browse files
author
nagalakshmi
committed
removed checks with ML server ports
1 parent bdd16be commit 7390d90

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

Jenkinsfile

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -40,33 +40,7 @@ def setupDockerMarkLogic(String image) {
4040
4141
MARKLOGIC_IMAGE=''' + image + ''' MARKLOGIC_LOGS_VOLUME=marklogicLogs \
4242
docker compose up -d --build
43-
echo "Waiting for MarkLogic Admin API (8001)..."
44-
count=0
45-
timeout=300
46-
until curl -u admin:admin --output /dev/null --silent --fail http://localhost:8001/admin/v1/timestamp; do
47-
((count++))
48-
if [ $count -ge $timeout ]; then
49-
echo "MarkLogic Admin API (8001) did not start in time!"
50-
docker compose logs marklogic
51-
exit 1
52-
fi
53-
sleep 5
54-
done
55-
56-
echo "Waiting for MarkLogic Manage API (8002)..."
57-
count=0
58-
until curl -u admin:admin --output /dev/null --silent --fail http://localhost:8002/manage/v2; do
59-
((count++))
60-
if [ $count -ge $timeout ]; then
61-
echo "MarkLogic Manage API (8002) did not start in time!"
62-
docker compose logs marklogic
63-
exit 1
64-
fi
65-
sleep 5
66-
done
67-
68-
echo "MarkLogic is fully ready."
69-
43+
sleep 300
7044
echo "Debugging Java installation on ARM instance:"
7145
ls -la /usr/lib/jvm/
7246
readlink -f /usr/bin/java

0 commit comments

Comments
 (0)