eliminati doppi escape...
This commit is contained in:
Vendored
+4
-8
@@ -258,27 +258,23 @@ pipeline {
|
||||
|
||||
// Funzione x pubblicazione su server IIS di deploy
|
||||
def publishToDeployServer(resourcesPath, iisPath) {
|
||||
// steps {
|
||||
// script{
|
||||
echo 'INIZIO Chiamata function publishToDeployServer'
|
||||
// manifest.xml: aggiorno versNumber ed URL del branch di update...
|
||||
bat "fart.exe " + resourcesPath + "manifest.xml 1.0.0.0 ${env.versionNumber} || EXIT /B 0"
|
||||
bat "fart.exe " + resourcesPath + "manifest.xml {{BRANCHNAME}} ${env.BRANCH_NAME} || EXIT /B 0"
|
||||
bat "fart.exe " + resourcesPath + "ChangeLog.html {{CURRENT-REL}} ${env.versionNumber} || EXIT /B 0"
|
||||
writeFile file: 'MP-Tablet\\changeLog.log', text: "${getChangeString()}"
|
||||
powershell '(Get-Content ' + resourcesPath + '\\ChangeLog.html) | ForEach-Object { $_ -replace \"{{LAST-CHANGES}}\", \"${getChangeString()}\" } | Set-Content ' + resourcesPath + '\\ChangeLog.html'
|
||||
powershell '(Get-Content ' + resourcesPath + 'ChangeLog.html) | ForEach-Object { $_ -replace \"{{LAST-CHANGES}}\", \"${getChangeString()}\" } | Set-Content ' + resourcesPath + 'ChangeLog.html'
|
||||
// copio ed esporto in IIS02 i vari files .xml, .html, .zip
|
||||
bat "xcopy /y " + resourcesPath + "\\manifest.xml c:\\inetpub\\wwwroot\\SWS\\MAPO\\TAB\\${env.BRANCH_NAME}\\ "
|
||||
bat "xcopy /y " + resourcesPath + "\\ChangeLog.html c:\\inetpub\\wwwroot\\SWS\\MAPO\\TAB\\${env.BRANCH_NAME}\\ "
|
||||
bat "xcopy /y " + resourcesPath + "\\logoSteamware.png c:\\inetpub\\wwwroot\\SWS\\MAPO\\TAB\\${env.BRANCH_NAME}\\ "
|
||||
bat "xcopy /y " + resourcesPath + "manifest.xml c:\\inetpub\\wwwroot\\SWS\\MAPO\\TAB\\${env.BRANCH_NAME}\\ "
|
||||
bat "xcopy /y " + resourcesPath + "ChangeLog.html c:\\inetpub\\wwwroot\\SWS\\MAPO\\TAB\\${env.BRANCH_NAME}\\ "
|
||||
bat "xcopy /y " + resourcesPath + "logoSteamware.png c:\\inetpub\\wwwroot\\SWS\\MAPO\\TAB\\${env.BRANCH_NAME}\\ "
|
||||
|
||||
// salvo copia della versione...
|
||||
bat "xcopy /y MP-Tablet\\ReleaseClienti\\${env.BRANCH_NAME}\\* E:\\Staging\\byProd\\MP\\${env.BRANCH_NAME}\\MP-TAB\\${env.versionNumber}\\ "
|
||||
// copio x AutoUpdate deploy
|
||||
bat "xcopy /y MP-Tablet\\ReleaseClienti\\${env.BRANCH_NAME}\\MP-TAB.zip c:\\inetpub\\wwwroot\\SWS\\MAPO\\TAB\\${env.BRANCH_NAME}\\ "
|
||||
echo 'FINE Chiamata function publishToDeployServer'
|
||||
// }
|
||||
// }
|
||||
}
|
||||
@NonCPS
|
||||
// Funzione x recupero changeLog
|
||||
|
||||
Reference in New Issue
Block a user