modifica sintassi powershell
This commit is contained in:
Vendored
+1
-1
@@ -81,7 +81,7 @@ pipeline {
|
||||
writeFile file: 'changeLog.log', text: "${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}\\ "
|
||||
|
||||
Reference in New Issue
Block a user