diff --git a/Jenkinsfile b/Jenkinsfile
index bffd4ee..cf07889 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -11,7 +11,7 @@ pipeline {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
- withEnv(['NEXT_BUILD_NUMBER=1120']) {
+ withEnv(['NEXT_BUILD_NUMBER=100']) {
// env.versionNumber = VersionNumber(versionNumberString : '${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'ScheMe'
@@ -42,7 +42,7 @@ pipeline {
parallel (
SP: {
sleep 0
- bat "\"${tool 'MSBuild-14.0'}\" ScheMe-SP/ScheMe-SP.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
+ bat "\"${tool 'MSBuild-14.0'}\" ScheMe-PIC/ScheMe-PIC.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
},
// AFA: {
// sleep 1
@@ -70,18 +70,12 @@ pipeline {
/* CAMBIO numero versione in file sorgente!!! */
bat "fart.exe VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
parallel (
- SP: {
- sleep 0
- 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:OutputPath=bin/ ScheMe-SP/ScheMe-SP.csproj"
- sleep 1
- 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:OutputPath=bin/ ScheMe-SP/ScheMe-SP.csproj"
+ IIS01: {
+ 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:OutputPath=bin/ ScheMe-PIC/ScheMe-PIC.csproj"
+ },
+ IIS02: {
+ 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:OutputPath=bin/ ScheMe-PIC/ScheMe-PIC.csproj"
},
- // AFA: {
- // sleep 2
- // 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:OutputPath=bin/ ScheMe-AFA/ScheMe-AFA.csproj"
- // sleep 3
- // 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:OutputPath=bin/ ScheMe-AFA/ScheMe-AFA.csproj"
- // },
failFast: false)
}
else {
@@ -99,14 +93,10 @@ pipeline {
/* CAMBIO numero versione in file sorgente!!! */
bat "fart.exe VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
parallel (
- SP: {
+ PIC: {
sleep 0
- 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=CUSBG.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=CUSBG /p:username=WPROD01\\Steamware /p:Password=viaD@nte16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ ScheMe-SP/ScheMe-SP.csproj"
+ 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=CUSBG.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=CUSBG /p:username=WPROD01\\Steamware /p:Password=viaD@nte16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ ScheMe-PIC/ScheMe-PIC.csproj"
},
- // AFA: {
- // sleep 1
- // 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=CUSBG.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=CUSBG /p:username=WPROD01\\Steamware /p:Password=viaD@nte16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ ScheMe-AFA/ScheMe-AFA.csproj"
- // },
failFast: false)
}
else{
diff --git a/ScheMe-PIC/Properties/PublishProfiles/CUSBG.pubxml b/ScheMe-PIC/Properties/PublishProfiles/CUSBG.pubxml
index 0309529..1c02b11 100644
--- a/ScheMe-PIC/Properties/PublishProfiles/CUSBG.pubxml
+++ b/ScheMe-PIC/Properties/PublishProfiles/CUSBG.pubxml
@@ -8,11 +8,11 @@ by editing this MSBuild file. In order to learn more about this please visit htt
MSDeploy
CUSBG
Any CPU
- http://scheme.steamware.net/SP/CusBG
+ http://scheme.steamware.net/PIC/CusBG
True
True
https://wprod01.steamware.net:8172/MsDeploy.axd
- scheme.steamware.net/SP/CusBG
+ scheme.steamware.net/PIC/CusBG
False
WMSVC
diff --git a/ScheMe-PIC/Web.CUSBG.config b/ScheMe-PIC/Web.CUSBG.config
index 46310fa..488856b 100644
--- a/ScheMe-PIC/Web.CUSBG.config
+++ b/ScheMe-PIC/Web.CUSBG.config
@@ -15,7 +15,7 @@
-->
-
+