File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,12 @@ def setupDockerMarkLogic(String image){
23
23
MARKLOGIC_IMAGE=''' + image+ ''' MARKLOGIC_LOGS_VOLUME=marklogicLogs docker compose up -d --build
24
24
echo "mlPassword=admin" > gradle-local.properties
25
25
echo "Waiting for MarkLogic server to initialize."
26
- sleep 30s
26
+ sleep 60s
27
27
cd ..
28
+ echo "mlPassword=admin" > gradle-local.properties
28
29
export GRADLE_USER_HOME=$WORKSPACE/$GRADLE_DIR
29
30
export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
31
+ ./gradlew mlTestConnections
30
32
./gradlew -i mlDeploy mlReloadSchemas
31
33
'''
32
34
}
@@ -201,6 +203,14 @@ pipeline{
201
203
./gradlew publish
202
204
'''
203
205
}
206
+ post{
207
+ always{
208
+ sh label :' dockerCleanup' , script : ''' #!/bin/bash
209
+ cd java-client-api/test-app
210
+ docker compose down -v || true
211
+ '''
212
+ }
213
+ }
204
214
}
205
215
206
216
stage(' regressions-11.2.0' ) {
You can’t perform that action at this time.
0 commit comments