Rrefresh JenkinsFile e README..

This commit is contained in:
Samuele E. Locatelli
2017-09-14 14:52:18 +02:00
parent 4a9b7c7d1a
commit a15591ea8d
4 changed files with 40 additions and 42 deletions
Vendored
+11 -22
View File
@@ -14,7 +14,7 @@ pipeline {
withEnv(['NEXT_BUILD_NUMBER=1120']) {
// env.versionNumber = VersionNumber(versionNumberString : '${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.APP_NAME = 'ScheMe'
env.APP_NAME = 'ScheMe-SP'
}
}
script {
@@ -28,7 +28,7 @@ pipeline {
}
/* CAMBIO numero versione in file sorgente!!! */
bat "fart.exe VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
bat "e:\\fart.exe ${WORKSPACE}\\VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
}
}
stage('Build') {
@@ -38,16 +38,13 @@ pipeline {
/* compilo tutti i progetti compresi... */
if (env.BRANCH_NAME == "develop") {
/* CAMBIO numero versione in file sorgente!!! */
bat "fart.exe VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
bat "e:\\fart.exe ${WORKSPACE}\\VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
bat "e:\\nuget.exe restore ${WORKSPACE}\\ScheMe-PIC.sln"
parallel (
SP: {
sleep 0
bat "\"${tool 'MSBuild-14.0'}\" ScheMe-SP/ScheMe-SP.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
},
// AFA: {
// sleep 1
// bat "\"${tool 'MSBuild-14.0'}\" ScheMe-AFA/ScheMe-AFA.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
// },
failFast: false)
}
else {
@@ -68,20 +65,15 @@ pipeline {
/* DEPLOY condizionale: develop / master */
if (env.BRANCH_NAME == "master") {
/* CAMBIO numero versione in file sorgente!!! */
bat "fart.exe VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
bat "e:\\fart.exe ${WORKSPACE}\\VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
bat "e:\\nuget.exe restore ${WORKSPACE}\\ScheMe-PIC.sln"
parallel (
SP: {
sleep 0
IIS01: {
bat "\"${tool 'MSBuild-14.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ ScheMe-SP/ScheMe-SP.csproj"
sleep 1
},
IIS02: {
bat "\"${tool 'MSBuild-14.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ ScheMe-SP/ScheMe-SP.csproj"
},
// AFA: {
// sleep 2
// bat "\"${tool 'MSBuild-14.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ ScheMe-AFA/ScheMe-AFA.csproj"
// sleep 3
// bat "\"${tool 'MSBuild-14.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ ScheMe-AFA/ScheMe-AFA.csproj"
// },
failFast: false)
}
else {
@@ -97,16 +89,13 @@ pipeline {
/* compilo installers in base al BRANCH del cliente... */
if (env.BRANCH_NAME == "cusbg") {
/* CAMBIO numero versione in file sorgente!!! */
bat "fart.exe VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
bat "e:\\fart.exe ${WORKSPACE}\\VersGen\\VersGen.cs 000.000 ${env.versionNumber} || EXIT /B 0"
bat "e:\\nuget.exe restore ${WORKSPACE}\\ScheMe-PIC.sln"
parallel (
SP: {
sleep 0
bat "\"${tool 'MSBuild-14.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=CUSBG.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=CUSBG /p:username=WPROD01\\Steamware /p:Password=viaD@nte16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ ScheMe-SP/ScheMe-SP.csproj"
},
// AFA: {
// sleep 1
// bat "\"${tool 'MSBuild-14.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=CUSBG.pubxml /p:VisualStudioVersion=14.0 /p:RunCodeAnalysis=false /p:Configuration=CUSBG /p:username=WPROD01\\Steamware /p:Password=viaD@nte16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ ScheMe-AFA/ScheMe-AFA.csproj"
// },
failFast: false)
}
else{
+29 -20
View File
@@ -1,37 +1,46 @@
# ScheMe
# ScheMe-SP
Il progetto ScheMe serve alla gestione di una GENERICA scheda medica con impiego in ambito sanitario/fitness
Il progetto deriva da ScheMe (gestione di una GENERICA scheda medica con impiego in ambito sanitario/fitness), già evoluzione del progetto MedPred (2012-2016) fatto partire da HTH/UniBg con DonOrione e ASL/ATS di Bg x analisi medicina predittiva anziani (Progetto Smart Aging)
<!-- TOC -->
- [ScheMe](#scheme)
- [Implementazioni](#implementazioni)
- [ScheMe-AFA](#scheme-afa)
- [ScheMe-SP](#scheme-sp)
- [ScheMe-PIC](#scheme-pic)
- [ScheMe-SP](#scheme-sp)
- [Descrizione](#descrizione)
- [Standard Tecnici](#standard-tecnici)
- [Specifiche implementative](#specifiche-implementative)
- [Componenti](#componenti)
- [Accettazione](#accettazione)
- [Visite](#visite)
- [Note e ToDo's](#note-e-todos)
- [2017.08.10](#20170810)
<!-- /TOC -->
E' l'evoluzione del progetto MedPred (2012-2016) fatto partire da HTH/UniBg con DonOrione e ASL/ATS di Bg x analisi medicina predittiva anziani (Progetto Smart Aging)
## Implementazioni
### ScheMe-AFA
Primo dei progetti evolutivi di ScheMe, a partire dal 2017 impiegato presso CusBG x supporto ai progetti AFA.
E' stato evoluto per gestione schede mediche pazienti anziani (es AFA65 / WCP), con integraizone futura x casi specifici (diabetici, etc) e con possibilità sviluppo tracking performances giovani/atleti
### ScheMe-SP
## Descrizione
Secondo progetto sempre per CusBG, a aprtire da settembre 2017 per seguire le attività progettuali svolte con le scuole di Bergamo (città) per i bambini della scuola primaria, suddivisi in due gruppi/fasce (classi 1-2 e classi 3-4-5)
### ScheMe-PIC
## Standard Tecnici
Progetti ideato insieme al dott. Sgherzi per la gestione di centri PIC (Presa In Carico) per i pazienti anziani secondo la nuova normativa della regione Lombardia in adozione dal 2018.
Il progetto impiega i seguenti standard tecnici:
- asp.net / C#
- bootstrap template (vers 3)
- SqlServer (2012R2 o succ)
## Specifiche implementative
Componenti del progetto sono i seguenti:
- ...
## Componenti
### Accettazione
### Visite
...
## Note e ToDo's
BIN
View File
Binary file not shown.
Binary file not shown.