diff --git a/Jenkinsfile b/Jenkinsfile index 5e194eb..7e824a3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,11 +34,11 @@ pipeline { } script { parallel ( - SteamWare.Legacy: { + STEAMWARE_LIB: { // MAIN lib bat "\"${tool 'MSBuild-15.0'}\" SteamWareLib\\SteamWare.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" }, - SteamWare.Reports: { + STEAMWARE_REPORTS: { // Reports lib bat "\"${tool 'MSBuild-15.0'}\" SteamWare.Reports\\SteamWare.Reports.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" }, @@ -73,20 +73,20 @@ pipeline { bat "e:\\nuget.exe restore ${WORKSPACE}\\SteamWare.sln" // elimino vecchie build... bat "del /f /q *.nupkg" - parallel ( - SteamWare.Legacy: { - // BUILD! - bat "\"${tool 'MSBuild-16.0'}\" SteamWareLib\\SteamWare.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /m" - // creo package NuGet... con version in modo da fare ANCHE le beta - bat "e:\\nuget.exe pack ${WORKSPACE}\\SteamWareLib\\SteamWare.csproj -properties Configuration=${env.config} -Version ${env.packVers}" - }, - SteamWare.Reports: { - // BUILD Reports lib! - bat "\"${tool 'MSBuild-16.0'}\" SteamWare.Reports\\SteamWare.Reports.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /m" + parallel ( + STEAMWARE_LIB: { + // BUILD! + bat "\"${tool 'MSBuild-16.0'}\" SteamWareLib\\SteamWare.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /m" // creo package NuGet... con version in modo da fare ANCHE le beta - bat "e:\\nuget.exe pack ${WORKSPACE}\\SteamWare.Reports\\SteamWare.Reports.csproj -properties Configuration=${env.config} -Version ${env.packVers}" - }, - failFast: false) + bat "e:\\nuget.exe pack ${WORKSPACE}\\SteamWareLib\\SteamWare.csproj -properties Configuration=${env.config} -Version ${env.packVers}" + }, + STEAMWARE_REPORTS: { + // BUILD Reports lib! + bat "\"${tool 'MSBuild-16.0'}\" SteamWare.Reports\\SteamWare.Reports.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /m" + // creo package NuGet... con version in modo da fare ANCHE le beta + bat "e:\\nuget.exe pack ${WORKSPACE}\\SteamWare.Reports\\SteamWare.Reports.csproj -properties Configuration=${env.config} -Version ${env.packVers}" + }, + failFast: false) } else {