Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossg committed Dec 27, 2023
1 parent b9d0f32 commit 6a6fb8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/maven.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ Describe "$SUT_TAG run Maven" {

Describe "$SUT_TAG run Surefire" {
It 'runs surefire' {
Run-Program -Cmd "docker.exe" -Params "run --rm ${SUT_TEST_IMAGE}:${SUT_TAG} dir C:/Users/ContainerAdministrator/AppData/Local"
Run-Program -Cmd "docker.exe" -Params "run --rm ${SUT_TEST_IMAGE}:${SUT_TAG} dir C:/Users/ContainerAdministrator/AppData/Local/Temp"
# -Dplugin='org.apache.maven.plugins:maven-surefire-plugin' works in windowsservercore but not in nanoserver
$exitCode, $stdout, $stderr = Run-Program -Cmd "docker.exe" -Params "run --rm ${SUT_TEST_IMAGE}:${SUT_TAG} mvn -B -ntp -f C:/Temp -Dplugin=surefire help:describe"
$exitCode | Should -Be 0
Expand Down

0 comments on commit 6a6fb8d

Please sign in to comment.