Fix gitSpread + install IIS01 single branch push

This commit is contained in:
Samuele E. Locatelli
2020-12-31 13:43:34 +01:00
parent 3e71e13d16
commit 013d2499de
2 changed files with 7 additions and 8 deletions
Vendored
+7 -7
View File
@@ -165,13 +165,13 @@ pipeline {
bat "e:\\nuget setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted"
bat "e:\\nuget.exe push MapoSDK.${env.packVers}.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted"
}
// else if (env.singleProj.contains(env.BRANCH_NAME) {
// parallel (
// ALL: {
// bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-${env.BRANCH_NAME}/MP-${env.BRANCH_NAME}.csproj"
// },
// failFast: false)
// }
else if ( env.singleProj.contains(env.BRANCH_NAME) ) {
parallel (
ALL: {
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-${env.BRANCH_NAME}/MP-${env.BRANCH_NAME}.csproj"
},
failFast: false)
}
else {
echo 'Nothing to deploy...'
}
-1
View File
@@ -18,7 +18,6 @@ REM Faccio push remoto condizionale
if %pushRemote% GTR 0 ( git push . %baseBranch%:ES3 )
if %pushRemote% GTR 0 ( git push . %baseBranch%:Giancarlo )
if %pushRemote% GTR 0 ( git push . %baseBranch%:MongoDb )
REM if %pushRemote% GTR 0 ( git push gitlab.steamware %baseBranch%:%baseBranch% )
if %pushRemote% GTR 0 ( git push gitlab.steamware %baseBranch%:beta )
if %pushRemote% GTR 0 ( git push gitlab.steamware %baseBranch%:develop )