diff --git a/Jenkinsfile b/Jenkinsfile index aeb9f74..c53b184 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -44,7 +44,7 @@ pipeline { agent any steps { script { - properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '180', artifactNumToKeepStr: '30', daysToKeepStr: '360', numToKeepStr: '30')), pipelineTriggers([])]) + properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '180', artifactNumToKeepStr: '20', daysToKeepStr: '180', numToKeepStr: '10')), pipelineTriggers([])]) // CAMBIO numero versione + checkout NuGet in file sorgente!!! bat "e:\\fart.exe VersGen\\VersGen.cs 1.0.0.0 ${env.versionNumber} || EXIT /B 0" bat "e:\\nuget.exe restore ${WORKSPACE}\\WebSCR.sln" @@ -53,13 +53,13 @@ pipeline { /* compilo installers in base al BRANCH del cliente... */ if (env.BRANCH_NAME == "develop") { parallel ( - ADM: { + WebSCR: { sleep 5 - bat "\"${tool 'MSBuild-15.0'}\" ADM/ADM.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" + bat "\"${tool 'MSBuild-15.0'}\" WebSCR/WebSCR.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" }, - PUB: { + DataUploader: { sleep 0 - bat "\"${tool 'MSBuild-15.0'}\" PUB/PUB.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" + bat "\"${tool 'MSBuild-15.0'}\" DataUploader/DataUploader.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m" }, failFast: false) } @@ -111,6 +111,9 @@ pipeline { // } // } // } + + + // stage('Installers') { // agent any // steps {