diff --git a/Jenkinsfile b/Jenkinsfile index b7d22d2..83fe0ed 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,6 +3,7 @@ pipeline { agent none environment { EMAIL_RECIPIENTS = 'samuele@steamware.net' + publNuget = false } stages { stage('Checkout') { @@ -10,7 +11,7 @@ pipeline { steps { /* calcolo numero versione... diverso x branch MASTER/DEVELOP */ script { - withEnv(['NEXT_BUILD_NUMBER=671']) { + withEnv(['NEXT_BUILD_NUMBER=672']) { // env.versionNumber = VersionNumber(versionNumberString : '3.3.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true) env.versionNumber = VersionNumber(versionNumberString : '3.3.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') env.versionNumberBeta = VersionNumber(versionNumberString : '3.3.${BUILD_DATE_FORMATTED, "yyMM"}-beta.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}') @@ -79,7 +80,9 @@ pipeline { } // ora mi occupo delle operazioni di invio a NEXUS... script { - if (env.BRANCH_NAME != "UnitTesting") { + // se richeista pubblicazione nuget (x develop) oppure master.. + if ((env.BRANCH_NAME == "develop" && env.publNuget == true) || (env.BRANCH_NAME == "master")) { + // lancio upload con nuget! echo 'Start upload with nuget push' bat "e:\\nuget setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted" diff --git a/README.md b/README.md index 085a9f6..1708798 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,7 @@ Libreria di utility condivise per progetti SteamWare C# .net ## Note Rilascio ### v.3.1 (2018.03.17) -Versione riorganizzata del progetto GIT x correzione problemi di packaging \ No newline at end of file +Versione riorganizzata del progetto GIT x correzione problemi di packaging + +### v.3.3 (2019.10.10) +Versione riorganizzata con pubblicazione in formato nuget su repo privato SteamWare (http://nexus.steamware.net) \ No newline at end of file diff --git a/README.pdf b/README.pdf index 3f1916b..c6895f0 100644 Binary files a/README.pdf and b/README.pdf differ