Pfade in Jenkinsfile angepasst

This commit is contained in:
dev-mkoebis
2026-06-25 10:13:48 +02:00
parent 5c423f348d
commit 6fffa3d961

View File

@@ -21,7 +21,7 @@ pipeline
cleanWs()
checkout scm
bat "dotnet restore Hochbaustatistik\\Hochbaustatistik.sln"
bat "\"${tool 'MSBuild17'}\" ${WORKSPACE}\\Hochbaustatistik\\Hochbaustatistik.sln /t:Restore /t:Rebuild /p:Configuration=Debug"
bat "\"${tool 'MSBuild17'}\" ${WORKSPACE}\\Hochbaustatistik.sln /t:Restore /t:Rebuild /p:Configuration=Debug"
}
}
stage('Test')
@@ -34,7 +34,7 @@ pipeline
{
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE')
{
bat "dotnet test ${WORKSPACE}\\Hochbaustatistik\\Hochbaustatistik.Testing\\Hochbaustatistik.Testing.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=..\\..\\coverage.xml /p:Exclude=[Scan2Compress.GUI]*%2c[Scan2Compress.Properties]* --no-build"
bat "dotnet test ${WORKSPACE}\\Hochbaustatistik.Testing\\Hochbaustatistik.Testing.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=..\\..\\coverage.xml /p:Exclude=[Scan2Compress.GUI]*%2c[Scan2Compress.Properties]* --no-build"
}
}
}