Skip to content

Create gradle-local.properties file in the root directory also #1712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,17 @@ def setupDockerMarkLogic(String image){
sudo /usr/local/sbin/mladmin cleandata
cd java-client-api/test-app
docker compose down -v || true
docker volume prune -f
echo "Using image: "'''+image+'''
MARKLOGIC_IMAGE='''+image+''' MARKLOGIC_LOGS_VOLUME=marklogicLogs docker compose up -d --build
echo "mlPassword=admin" > gradle-local.properties
echo "Waiting for MarkLogic server to initialize."
sleep 30s
sleep 60s
cd ..
echo "mlPassword=admin" > gradle-local.properties
export GRADLE_USER_HOME=$WORKSPACE/$GRADLE_DIR
export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
./gradlew mlTestConnections
./gradlew -i mlDeploy mlReloadSchemas
'''
}
Expand Down Expand Up @@ -180,6 +183,7 @@ pipeline{
sh label:'dockerCleanup', script: '''#!/bin/bash
cd java-client-api/test-app
docker compose down -v || true
docker volume prune -f
'''
}
}
Expand All @@ -201,6 +205,15 @@ pipeline{
./gradlew publish
'''
}
post{
always{
sh label:'dockerCleanup', script: '''#!/bin/bash
cd java-client-api/test-app
docker compose down -v || true
docker volume prune -f
'''
}
}
}

stage('regressions-11.2.0') {
Expand Down