fix gitspread e jenkinsfile

This commit is contained in:
Samuele E. Locatelli
2021-03-03 10:02:27 +01:00
parent fc43568ef6
commit 982269d7f2
2 changed files with 7 additions and 8 deletions
Vendored
+1 -2
View File
@@ -13,7 +13,7 @@ pipeline {
steps {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=1394']) {
withEnv(['NEXT_BUILD_NUMBER=1395']) {
// env.versionNumber = VersionNumber(versionNumberString : '6.12.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '6.12.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'MAPO'
@@ -44,7 +44,6 @@ pipeline {
bat "fart.exe VersGen\\MoonPro.cs 1.0.0.0 ${env.versionNumber} || EXIT /B 0"
// checkout NuGet in file sorgente!!!
fixNuget("${WORKSPACE}\\MAPO.sln")
// bat "e:\\nuget.exe restore ${WORKSPACE}\\MAPO.sln"
}
script {
/* compilo installers in base al BRANCH del cliente... */
+6 -6
View File
@@ -15,9 +15,9 @@ git push . %baseBranch%:develop
git push gitlab.steamware %baseBranch%:%baseBranch%
REM Faccio push remoto condizionale
if %pushRemote% GTR 0 ( git push . %baseBranch%:ES3 )
if %pushRemote% GTR 0 ( git push . %baseBranch%:Giancarlo )
if %pushRemote% GTR 0 ( git push . %baseBranch%:MongoDb )
@REM if %pushRemote% GTR 0 ( git push . %baseBranch%:ES3 )
@REM if %pushRemote% GTR 0 ( git push . %baseBranch%:Giancarlo )
@REM if %pushRemote% GTR 0 ( git push . %baseBranch%:MongoDb )
if %pushRemote% GTR 0 ( git push gitlab.steamware %baseBranch%:beta )
if %pushRemote% GTR 0 ( git push gitlab.steamware %baseBranch%:develop )
@@ -25,9 +25,9 @@ if %pushRemote% GTR 1 ( git push . %baseBranch%:ADM )
if %pushRemote% GTR 1 ( git push . %baseBranch%:MAG )
if %pushRemote% GTR 1 ( git push . %baseBranch%:TAB )
if %pushRemote% GTR 1 ( git push . %baseBranch%:SDK )
if %pushRemote% GTR 1 ( git push gitlab.steamware %baseBranch%:ES3 )
if %pushRemote% GTR 1 ( git push gitlab.steamware %baseBranch%:Giancarlo )
if %pushRemote% GTR 1 ( git push gitlab.steamware %baseBranch%:MongoDb )
@REM if %pushRemote% GTR 1 ( git push gitlab.steamware %baseBranch%:ES3 )
@REM if %pushRemote% GTR 1 ( git push gitlab.steamware %baseBranch%:Giancarlo )
@REM if %pushRemote% GTR 1 ( git push gitlab.steamware %baseBranch%:MongoDb )
if %pushRemote% GTR 2 ( git push . %baseBranch%:master )
if %pushRemote% GTR 2 ( git push . %baseBranch%:stable )