modifica scrittura log...

This commit is contained in:
Samuele E. Locatelli
2017-10-26 12:37:23 +02:00
parent 56ff60bdfe
commit c8bbd44777
Vendored
+2 -2
View File
@@ -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}\\ "