From 9cf3fa46c6d8113c56b873a5a9f9ed23232589f0 Mon Sep 17 00:00:00 2001 From: Pasin Suriyentrakorn Date: Tue, 1 Oct 2024 17:12:14 -0700 Subject: [PATCH] Add dotnet config in jenkins pipeline --- jenkins/pipelines/dotnet/config.json | 7 +++++++ jenkins/pipelines/dotnet/winui_test.ps1 | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 jenkins/pipelines/dotnet/config.json diff --git a/jenkins/pipelines/dotnet/config.json b/jenkins/pipelines/dotnet/config.json new file mode 100644 index 00000000..f05ba61c --- /dev/null +++ b/jenkins/pipelines/dotnet/config.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://packages.couchbase.com/couchbase-lite/testserver.schema.json", + "test-servers": ["http://localhost:8080"], + "sync-gateways": [{"hostname": "192.168.86.21", "tls": true}], + "couchbase-servers": [{"hostname": "localhost"}], + "api-version": 1 +} \ No newline at end of file diff --git a/jenkins/pipelines/dotnet/winui_test.ps1 b/jenkins/pipelines/dotnet/winui_test.ps1 index eaa3d9a8..14d89ae2 100644 --- a/jenkins/pipelines/dotnet/winui_test.ps1 +++ b/jenkins/pipelines/dotnet/winui_test.ps1 @@ -26,6 +26,7 @@ Push-Location $PSScriptRoot\..\..\..\tests python -m venv venv .\venv\Scripts\activate pip install -r requirements.txt -pytest -v --no-header --config config.example.json +Copy-Item $PSScriptRoot\..\..\..\jenkins\pipelines\dotnet\config.json . +pytest -v --no-header --config config.json deactivate Pop-Location \ No newline at end of file