tolti commenti, agigunta email x errori
This commit is contained in:
Vendored
+5
-11
@@ -8,9 +8,7 @@ pipeline {
|
||||
/* copio le libs...*/
|
||||
step([$class: 'CopyArtifact', fingerprintArtifacts: true, projectName: 'Steamware/SteamWareLib', selector: [$class: 'WorkspaceSelector'], target: '../Steamware/SteamWareLib'])
|
||||
|
||||
/* calcolo numero versione... */
|
||||
/*checkout scm*/
|
||||
/*echo 'Checkout Git'*/
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=4056']) {
|
||||
env.versionNumber = VersionNumber(versionNumberString : '${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, versionPrefix: '2.4.')
|
||||
@@ -30,27 +28,22 @@ pipeline {
|
||||
steps {
|
||||
parallel (
|
||||
HOME: {
|
||||
echo 'Build HOME Release'
|
||||
bat "\"${tool 'MSBuild-14.0'}\" HOME\\HOME.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
},
|
||||
ADMIN: {
|
||||
sleep 0
|
||||
echo 'Build ADMIN Release'
|
||||
bat "\"${tool 'MSBuild-14.0'}\" GPW_Admin\\GPW_Admin.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
},
|
||||
BARCODE: {
|
||||
sleep 1
|
||||
echo 'Build BARCODE Release'
|
||||
bat "\"${tool 'MSBuild-14.0'}\" GPW_Barcode\\GPW_Barcode.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
},
|
||||
SMART: {
|
||||
sleep 2
|
||||
echo 'Build SMART Release'
|
||||
bat "\"${tool 'MSBuild-14.0'}\" GPW_Smart\\GPW_Smart.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
},
|
||||
COMMESSE: {
|
||||
sleep 3
|
||||
echo 'Build COMMESSE Release'
|
||||
bat "\"${tool 'MSBuild-14.0'}\" GPW_Commesse\\GPW_Commesse.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
},
|
||||
failFast: false)
|
||||
@@ -143,9 +136,10 @@ pipeline {
|
||||
}
|
||||
}*/
|
||||
}
|
||||
/*post {
|
||||
post {
|
||||
always {
|
||||
echo 'I will always say Hello again!'
|
||||
/* invio email se ci sono errori... */
|
||||
step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: 'info@steamware.net', sendToIndividuals: true])
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user