From 48d49de7314a668d48f6b89192398b776637cf0e Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Tue, 28 Jul 2020 10:18:31 +0200 Subject: [PATCH 1/4] Refresh copy x file resource --- NKC_WF/NKC_WF.csproj | 12 +++++++++--- VersGen/VersGen.csproj | 12 +++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/NKC_WF/NKC_WF.csproj b/NKC_WF/NKC_WF.csproj index 7ba204f..7641d58 100644 --- a/NKC_WF/NKC_WF.csproj +++ b/NKC_WF/NKC_WF.csproj @@ -260,9 +260,15 @@ - - - + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + diff --git a/VersGen/VersGen.csproj b/VersGen/VersGen.csproj index 2fee417..6e3dd62 100644 --- a/VersGen/VersGen.csproj +++ b/VersGen/VersGen.csproj @@ -49,9 +49,15 @@ - - - + + Always + + + Always + + + Always + TextTemplatingFileGenerator VersGen.cs From a8a20926bd15eb29b2b6d4f37fbccb210ebab76b Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Tue, 28 Jul 2020 10:20:34 +0200 Subject: [PATCH 2/4] Update refresh file --- NKC_WF/NKC_WF.csproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NKC_WF/NKC_WF.csproj b/NKC_WF/NKC_WF.csproj index 7641d58..c68a932 100644 --- a/NKC_WF/NKC_WF.csproj +++ b/NKC_WF/NKC_WF.csproj @@ -261,13 +261,13 @@ - PreserveNewest + Always - PreserveNewest + Always - PreserveNewest + Always From b9ade892a672dde6204599a596572d290395e652 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Tue, 28 Jul 2020 10:29:32 +0200 Subject: [PATCH 3/4] fix deploy path --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5a47046..04dab64 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -130,7 +130,7 @@ pipeline { // SITE bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Prod /p:PublishProfile=${env.BRANCH_NAME}.pubxml /p:VisualStudioVersion=15.0 /p:RunCodeAnalysis=false /p:AutoParameterizationWebConfigConnectionStrings=False /p:PackageLocation=Releases/${env.BRANCH_NAME}/NKC.zip /p:DeployIisAppPath=\"Default Web Site/NKC\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ NKC_WF/NKC_WF.csproj" // pubblico su server deploy! - publishToDeployServer("NKC\\", "c:\\inetpub\\wwwroot\\SWS\\", "NKC") + publishToDeployServer("NKC_WF\\", "c:\\inetpub\\wwwroot\\SWS\\", "NKC") nexusArtifactUploader ( artifacts: [ [ From 9d1a93e5936a2b4c15a18818ed7f2a440114bf15 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Tue, 28 Jul 2020 10:29:42 +0200 Subject: [PATCH 4/4] Merge branch 'develop' --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5a47046..04dab64 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -130,7 +130,7 @@ pipeline { // SITE bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Prod /p:PublishProfile=${env.BRANCH_NAME}.pubxml /p:VisualStudioVersion=15.0 /p:RunCodeAnalysis=false /p:AutoParameterizationWebConfigConnectionStrings=False /p:PackageLocation=Releases/${env.BRANCH_NAME}/NKC.zip /p:DeployIisAppPath=\"Default Web Site/NKC\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ NKC_WF/NKC_WF.csproj" // pubblico su server deploy! - publishToDeployServer("NKC\\", "c:\\inetpub\\wwwroot\\SWS\\", "NKC") + publishToDeployServer("NKC_WF\\", "c:\\inetpub\\wwwroot\\SWS\\", "NKC") nexusArtifactUploader ( artifacts: [ [