This is an automated email from the ASF dual-hosted git repository. pgj pushed a commit to branch jenkins-clouseau-windows in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 0ddc77f01d1e2b0419c138cd14ca086195f044f9 Author: Gabor Pali <[email protected]> AuthorDate: Wed May 14 04:49:18 2025 +0200 Jenkinsfull.aux: set Erlang cookie for running Clouseau on Windows At the moment, sharing the Erlang cookie between the CouchDB and Clouseau nodes for orchestrating the tests does not work on the Windows CI builders. By default, we rely on the `.erlang.cookie` file in the user's home directory, but this file could only be opened exclusively. Work this around by setting the cookie string through the command line and unblock running Clouseau on the Windows CI builders. --- build-aux/Jenkinsfile.full | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full index 1b770bae1..007f6e6e2 100644 --- a/build-aux/Jenkinsfile.full +++ b/build-aux/Jenkinsfile.full @@ -239,13 +239,17 @@ def generateNativeStage(platform) { //powershell( script: ".\\..\\..\\couchdb-glazier\\bin\\shell.ps1; make -f Makefile.win eunit", label: 'EUnit tests') //powershell( script: ".\\..\\..\\couchdb-glazier\\bin\\shell.ps1; make -f Makefile.win elixir", label: 'Elixir tests') - powershell( script: '& .\\..\\..\\couchdb-glazier\\bin\\shell.ps1; Write-Host "NOT AVAILABLE: make -f Makefile.win elixir-search"', label: 'N/A Clouseau tests') + powershell( script: """ + .\\..\\..\\couchdb-glazier\\bin\\shell.ps1 + Set-Item -Path env:GRADLE_OPTS -Value '-Dorg.gradle.daemon=false' + make -f Makefile.win elixir-search ERLANG_COOKIE=crumbles + """, label: 'Clouseau tests') powershell( script: """ - .\\..\\..\\couchdb-glazier\\bin\\shell.ps1 - Set-Item -Path env:GRADLE_OPTS -Value '-Dorg.gradle.daemon=false' - make -f Makefile.win mango-test - """, label: 'Mango tests') + .\\..\\..\\couchdb-glazier\\bin\\shell.ps1 + Set-Item -Path env:GRADLE_OPTS -Value '-Dorg.gradle.daemon=false' + make -f Makefile.win mango-test ERLANG_COOKIE=crumbles + """, label: 'Mango tests') powershell( script: '.\\..\\..\\couchdb-glazier\\bin\\shell.ps1; Write-Host "NOT AVAILABLE: make -f Makefile.win weatherreport-test"', label: 'N/A Weatherreport tests')
