commenti e ristrutturazione...
This commit is contained in:
Vendored
+33
-29
@@ -62,42 +62,58 @@ pipeline {
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
parallel (
|
||||
HOME: {
|
||||
dir("STEAMW-STASH") {
|
||||
unstash "STEAMW-STASH"
|
||||
}
|
||||
bat "\"${tool 'MSBuild-14.0'}\" \"/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:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ HOME/HOME.csproj"
|
||||
/*},
|
||||
HOME_IIS02: {*/
|
||||
dir("STEAMW-STASH") {
|
||||
unstash "STEAMW-STASH"
|
||||
}
|
||||
bat "\"${tool 'MSBuild-14.0'}\" \"/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=IIS02.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ HOME/HOME.csproj"
|
||||
},
|
||||
ADMIN: {
|
||||
/*IIS 01*/
|
||||
dir("STEAMW-STASH") {
|
||||
unstash "STEAMW-STASH"
|
||||
}
|
||||
bat "\"${tool 'MSBuild-14.0'}\" \"/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:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ GPW_Admin/GPW_Admin.csproj"
|
||||
/*},
|
||||
ADMIN_IIS02: {*/
|
||||
|
||||
/*IIS 02*/
|
||||
dir("STEAMW-STASH") {
|
||||
unstash "STEAMW-STASH"
|
||||
}
|
||||
bat "\"${tool 'MSBuild-14.0'}\" \"/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=IIS02.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ GPW_Admin/GPW_Admin.csproj"
|
||||
},
|
||||
BCODE_IIS01: {
|
||||
BCODE: {
|
||||
/*IIS 01*/
|
||||
dir("STEAMW-STASH") {
|
||||
unstash "STEAMW-STASH"
|
||||
}
|
||||
bat "\"${tool 'MSBuild-14.0'}\" \"/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:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ GPW_Barcode/GPW_Barcode.csproj"
|
||||
},
|
||||
BCODE_IIS02: {
|
||||
|
||||
/* IIS02 */
|
||||
dir("STEAMW-STASH") {
|
||||
unstash "STEAMW-STASH"
|
||||
}
|
||||
bat "\"${tool 'MSBuild-14.0'}\" \"/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=IIS02.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ GPW_Barcode/GPW_Barcode.csproj"
|
||||
},
|
||||
COMM: {
|
||||
/* IIS01 */
|
||||
dir("STEAMW-STASH") {
|
||||
unstash "STEAMW-STASH"
|
||||
}
|
||||
bat "\"${tool 'MSBuild-14.0'}\" \"/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:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ GPW_Commesse/GPW_Commesse.csproj"
|
||||
|
||||
/* IIS02 */
|
||||
dir("STEAMW-STASH") {
|
||||
unstash "STEAMW-STASH"
|
||||
}
|
||||
bat "\"${tool 'MSBuild-14.0'}\" \"/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=IIS02.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ GPW_Commesse/GPW_Commesse.csproj"
|
||||
},
|
||||
HOME: {
|
||||
/* IIS01 */
|
||||
dir("STEAMW-STASH") {
|
||||
unstash "STEAMW-STASH"
|
||||
}
|
||||
bat "\"${tool 'MSBuild-14.0'}\" \"/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:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ HOME/HOME.csproj"
|
||||
|
||||
/* IIS02 */
|
||||
dir("STEAMW-STASH") {
|
||||
unstash "STEAMW-STASH"
|
||||
}
|
||||
bat "\"${tool 'MSBuild-14.0'}\" \"/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=IIS02.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ HOME/HOME.csproj"
|
||||
},
|
||||
SMART_IIS01: {
|
||||
dir("STEAMW-STASH") {
|
||||
unstash "STEAMW-STASH"
|
||||
@@ -110,18 +126,6 @@ pipeline {
|
||||
}
|
||||
bat "\"${tool 'MSBuild-14.0'}\" \"/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=IIS02.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ GPW_Smart/GPW_Smart.csproj"
|
||||
},
|
||||
COMM_IIS01: {
|
||||
dir("STEAMW-STASH") {
|
||||
unstash "STEAMW-STASH"
|
||||
}
|
||||
bat "\"${tool 'MSBuild-14.0'}\" \"/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:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ GPW_Commesse/GPW_Commesse.csproj"
|
||||
},
|
||||
COMM_IIS02: {
|
||||
dir("STEAMW-STASH") {
|
||||
unstash "STEAMW-STASH"
|
||||
}
|
||||
bat "\"${tool 'MSBuild-14.0'}\" \"/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=IIS02.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ GPW_Commesse/GPW_Commesse.csproj"
|
||||
},
|
||||
failFast: false)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user