Skip to content

Commit 21557e4

Browse files
committed
Unset CLOUSEAU_JAVA_HOME because it can now work Java 21
1 parent c43ce25 commit 21557e4

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

build-aux/Jenkinsfile

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -314,17 +314,19 @@ def generateNativeStage(platform) {
314314
//powershell( script: ".\\..\\..\\couchdb-glazier\\bin\\shell.ps1; make -f Makefile.win eunit", label: 'EUnit tests')
315315
//powershell( script: ".\\..\\..\\couchdb-glazier\\bin\\shell.ps1; make -f Makefile.win elixir", label: 'Elixir tests')
316316

317-
powershell( script: """
318-
.\\..\\..\\couchdb-glazier\\bin\\shell.ps1
319-
Set-Item -Path env:GRADLE_OPTS -Value '-Dorg.gradle.daemon=false'
320-
make -f Makefile.win elixir-search ERLANG_COOKIE=crumbles
321-
""", label: 'Clouseau tests')
317+
withEnv(['CLOUSEAU_JAVA_HOME=']) {
318+
powershell( script: """
319+
.\\..\\..\\couchdb-glazier\\bin\\shell.ps1
320+
Set-Item -Path env:GRADLE_OPTS -Value '-Dorg.gradle.daemon=false'
321+
make -f Makefile.win elixir-search ERLANG_COOKIE=crumbles
322+
""", label: 'Clouseau tests')
322323

323-
powershell( script: """
324+
powershell( script: """
324325
.\\..\\..\\couchdb-glazier\\bin\\shell.ps1
325326
Set-Item -Path env:GRADLE_OPTS -Value '-Dorg.gradle.daemon=false'
326327
make -f Makefile.win mango-test ERLANG_COOKIE=crumbles
327328
""", label: 'Mango tests')
329+
}
328330

329331
powershell( script: '.\\..\\..\\couchdb-glazier\\bin\\shell.ps1; Write-Host "NOT AVAILABLE: make -f Makefile.win weatherreport-test"', label: 'N/A Weatherreport tests')
330332

0 commit comments

Comments
 (0)