Fix gitSpread + install IIS01 single branch push
This commit is contained in:
Vendored
+7
-7
@@ -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...'
|
||||
}
|
||||
|
||||
@@ -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 )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user