diff --git a/Jenkinsfile b/Jenkinsfile index 063135b..98c6bd4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -61,29 +61,32 @@ pipeline { parallel ( HOME_IIS01_IIS02: { echo 'DEPLOY HOME IIS01/IIS02' - bat "\"${tool 'MSBuild-14.0'}\" HOME\\HOME.csproj /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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /m" - - /*bat "\"${tool 'MSBuild-14.0'}\" HOME\\HOME.csproj /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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /m"*/ + bat "\"${tool 'MSBuild-14.0'}\" HOME\\HOME.csproj /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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /m" + bat "\"${tool 'MSBuild-14.0'}\" HOME\\HOME.csproj /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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /m" }, /*ADMIN: { sleep 0 echo 'Build ADMIN Release' - bat "\"${tool 'MSBuild-14.0'}\" GPW_Admin\\GPW_Admin.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ /m" + bat "\"${tool 'MSBuild-14.0'}\" GPW_Admin\\GPW_Admin.csproj /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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /m" + bat "\"${tool 'MSBuild-14.0'}\" GPW_Admin\\GPW_Admin.csproj /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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /m" }, BARCODE: { sleep 1 echo 'Build BARCODE Release' - bat "\"${tool 'MSBuild-14.0'}\" GPW_Barcode\\GPW_Barcode.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ /m" + bat "\"${tool 'MSBuild-14.0'}\" GPW_Barcode\\GPW_Barcode.csproj /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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /m" + bat "\"${tool 'MSBuild-14.0'}\" GPW_Barcode\\GPW_Barcode.csproj /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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /m" }, SMART: { sleep 2 echo 'Build SMART Release' - bat "\"${tool 'MSBuild-14.0'}\" GPW_Smart\\GPW_Smart.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ /m" + bat "\"${tool 'MSBuild-14.0'}\" GPW_Smart\\GPW_Smart.csproj /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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /m" + bat "\"${tool 'MSBuild-14.0'}\" GPW_Smart\\GPW_Smart.csproj /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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /m" }, COMMESSE: { sleep 3 echo 'Build COMMESSE Release' - bat "\"${tool 'MSBuild-14.0'}\" GPW_Commesse\\GPW_Commesse.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:ProductVersion=${env.versionNumber} /p:OutputPath=bin/ /m" + bat "\"${tool 'MSBuild-14.0'}\" GPW_Commesse\\GPW_Commesse.csproj /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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /m" + bat "\"${tool 'MSBuild-14.0'}\" GPW_Commesse\\GPW_Commesse.csproj /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=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ /m" },*/ failFast: false) }