Skip to content

Commit 58432dc

Browse files
committed
MLE-24505 Doing full build on PR pipeline
Verifying that all code can be compiled, even when running a subset of the tests.
1 parent c9817ea commit 58432dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Jenkinsfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ def runTests(String image) {
3838
export GRADLE_USER_HOME=$WORKSPACE/$GRADLE_DIR
3939
export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
4040
cd java-client-api
41+
// Ensure all modules can be built first.
42+
./gradlew clean build -x test
4143
mkdir -p marklogic-client-api/build/test-results/test
4244
./gradlew marklogic-client-api:test || true
4345
'''
@@ -172,6 +174,8 @@ pipeline{
172174
export GRADLE_USER_HOME=$WORKSPACE/$GRADLE_DIR
173175
export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
174176
cd java-client-api
177+
// Ensure all modules can be built first.
178+
./gradlew clean build -x test
175179
./gradlew cleanTest marklogic-client-api:test
176180
'''
177181
// Omitting this until MLE-24523 can be addressed

0 commit comments

Comments
 (0)