From c420e610102f6e882d2096a6edec1676852fa806 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Wed, 8 Nov 2017 17:01:02 +0100 Subject: [PATCH] altro test sintassi --- Jenkinsfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 20661dd9..c132048d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -220,7 +220,7 @@ pipeline { echo 'Chiamo publishToDeployServer...' // pubblico su server deploy! - publishToDeployServer("MP-Tablet\\Resources", "c:\\inetpub\\wwwroot\\SWS\\MAPO\\TAB") + publishToDeployServer()//"MP-Tablet\\Resources", "c:\\inetpub\\wwwroot\\SWS\\MAPO\\TAB") // // manifest.xml: aggiorno versNumber ed URL del branch di update... // bat "fart.exe MP-Tablet\\Resources\\manifest.xml 1.0.0.0 ${env.versionNumber} || EXIT /B 0" // bat "fart.exe MP-Tablet\\Resources\\manifest.xml {{BRANCHNAME}} ${env.BRANCH_NAME} || EXIT /B 0" @@ -258,9 +258,9 @@ pipeline { @NonCPS // Funzione x pubblicazione su server IIS di deploy -def publishToDeployServer(resourcesPath, iisPath) { - steps { - script{ +def publishToDeployServer() {//resourcesPath, iisPath) { + // steps { + // script{ echo 'INIZIO Chiamata function publishToDeployServer' // manifest.xml: aggiorno versNumber ed URL del branch di update... bat "fart.exe MP-Tablet\\Resources\\manifest.xml 1.0.0.0 ${env.versionNumber} || EXIT /B 0" @@ -278,8 +278,8 @@ def publishToDeployServer(resourcesPath, iisPath) { // 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' - } - } + // } + // } } // Funzione x recupero changeLog def getChangeString() {