From c8bbd44777c7645e828eb443b494a01ee78742bd Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Thu, 26 Oct 2017 12:37:23 +0200 Subject: [PATCH] modifica scrittura log... --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d7b08668..a00f5d84 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -78,10 +78,10 @@ pipeline { bat "fart.exe IOB-WIN\\Resources\\manifest.xml 1.0.0.0 ${env.versionNumber} || EXIT /B 0" bat "fart.exe IOB-WIN\\Resources\\manifest.xml {{BRANCHNAME}} ${env.BRANCH_NAME} || EXIT /B 0" bat "fart.exe IOB-WIN\\Resources\\ChangeLog.html {{CURRENT-REL}} ${env.versionNumber} || EXIT /B 0" - writeFile file: 'changeLog.log', text: "${getChangeString()}" + writeFile file: 'changeLog.log', text: readFile'IOB-WIN\\Resources\\ChangeLog.html'+'"${getChangeString()}" // bat "fart.exe IOB-WIN\\Resources\\ChangeLog.html {{LAST-CHANGES}} \"${getChangeString()}\" || EXIT /B 0" // copio ed esporto in IIS02 i vari files .xml, .html, .zip - powershell "(Get-Content IOB-WIN\\Resources\\ChangeLog.html) | ForEach-Object { $_ -replace \"{{LAST-CHANGES}}\", \"${getChangeString()}\" } | Set-Content IOB-WIN\\Resources\\ChangeLog.html" + powershell '(Get-Content IOB-WIN\\Resources\\ChangeLog.html) | ForEach-Object { $_ -replace \"{{LAST-CHANGES}}\", \"${getChangeString()}\" } | Set-Content IOB-WIN\\Resources\\ChangeLog.html' bat "xcopy /y IOB-WIN\\Resources\\manifest.xml c:\\inetpub\\wwwroot\\SWS\\MAPO-IOB-WIN\\${env.BRANCH_NAME}\\ " bat "xcopy /y IOB-WIN\\Resources\\ChangeLog.html c:\\inetpub\\wwwroot\\SWS\\MAPO-IOB-WIN\\${env.BRANCH_NAME}\\ "