Skip to content

Commit

Permalink
Neaten up Java WS on Jenkins (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeike committed Nov 25, 2024
1 parent 8f73a07 commit 2ef4e4c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion jenkins/pipelines/java/desktop/win_tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ try
Pop-Location

Write-Host "Windows Desktop: Start the environment"
& .\jenkins\pipelines\shared\setup_backend.ps1 $sgUrl
& .\jenkins\pipelines\shared\setup_backend.ps1 "$sgUrl"

Write-Host "Windows Desktop: Wait for the Test Server..."
$urlFile = "servers\jak\desktop\server.url"
Expand Down
10 changes: 5 additions & 5 deletions jenkins/pipelines/java/webservice/win_teardown.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ param (
$ErrorActionPreference = "Stop"
[System.Environment]::SetEnvironmentVariable("JAVA_HOME", "C:\Program Files\Microsoft\jdk-17.0.13.11-hotspot")

# $cblVersion = "${version}-${buildNumber}"
$cblVersion = "${version}-${buildNumber}"

# Write-Host "Windows Web Service: Shutdown the Test Server"
# Push-Location servers\jak\webservice
# & .\gradlew.bat --no-daemon appStop -PcblVersion="${cblVersion}"
# Pop-Location
Write-Host "Windows Web Service: Shutdown the Test Server"
Push-Location servers\jak\webservice
& .\gradlew.bat --no-daemon appStop -PcblVersion="${cblVersion}"
Pop-Location

Write-Host "Windows Web Service: Shutdown the environment"
Push-Location environment
Expand Down
2 changes: 1 addition & 1 deletion jenkins/pipelines/java/webservice/win_tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ try
Pop-Location

Write-Host "Windows Web Service: Start the environment"
& .\jenkins\pipelines\shared\setup_backend.ps1 $sgUrl
& .\jenkins\pipelines\shared\setup_backend.ps1 "$sgUrl"

Write-Host "Windows Web Service: Wait for the Test Server..."
$urlFile = "servers\jak\webservice\app\server.url"
Expand Down

0 comments on commit 2ef4e4c

Please sign in to comment.