rivisto parallelismo build...
This commit is contained in:
Vendored
+12
-25
@@ -11,8 +11,13 @@ pipeline {
|
||||
agent any
|
||||
steps {
|
||||
/* build delle SteamWare libs! */
|
||||
/* build 'SteamWare/SteamWareLib' */
|
||||
/* build 'SteamWare/SteamWareLib' */
|
||||
|
||||
/* copio le libs...*/
|
||||
// mirroring directory x SteamWare Libs
|
||||
bat "robocopy /MIR ..\\..\\SteamWare\\SteamWareLib ..\\SteamWare\\SteamWareLib || EXIT /B 0"
|
||||
|
||||
// metodi nON funzionanti
|
||||
// step([$class: 'CopyArtifact', fingerprintArtifacts: true, projectName: 'SteamWare/SteamWareLib', selector: [$class: 'WorkspaceSelector'], target: '../SteaWware/SteamWareLib'])
|
||||
// script {
|
||||
// step ([$class: 'CopyArtifact',
|
||||
@@ -20,19 +25,10 @@ pipeline {
|
||||
// filter: "S*",
|
||||
// target: '../Steamware']);
|
||||
// }
|
||||
|
||||
// copyArtifacts fingerprintArtifacts: true, projectName: 'SteamWare', selector: lastSuccessful()
|
||||
// copyArtifacts filter: 'SteamWareLib', fingerprintArtifacts: true, projectName: 'SteamWare', selector: lastSuccessful()
|
||||
// copyArtifacts filter: 'SteamWareLib', projectName: 'SteamWare', selector: lastSuccessful(), target: '../'
|
||||
|
||||
// mirroring directory x SteamWare Libs
|
||||
bat "robocopy /MIR ..\\..\\SteamWare\\SteamWareLib ..\\SteamWare\\SteamWareLib || EXIT /B 0"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// checkout steamwarelibs..
|
||||
// checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '1d76e8b0-61a1-4b65-abab-bf9ffa5d29c8', url: 'https://gogs.steamware.net/SteamwareSrl/SteamWare.git']]])
|
||||
|
||||
@@ -72,28 +68,19 @@ pipeline {
|
||||
/* compilo installers in base al BRANCH del cliente... */
|
||||
if (env.BRANCH_NAME == "develop") {
|
||||
parallel (
|
||||
LANDING: {
|
||||
sleep 5
|
||||
bat "\"${tool 'MSBuild-15.0'}\" MP-LAND/MP-LAND.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
},
|
||||
ADMIN: {
|
||||
ADMIN_IO: {
|
||||
sleep 0
|
||||
bat "\"${tool 'MSBuild-15.0'}\" MP-ADM/MP-ADM.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
},
|
||||
IO: {
|
||||
sleep 4
|
||||
bat "\"${tool 'MSBuild-15.0'}\" MP-IO/MP-IO.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
},
|
||||
MON: {
|
||||
sleep 3
|
||||
LANDING_MON: {
|
||||
sleep 2
|
||||
bat "\"${tool 'MSBuild-15.0'}\" MP-LAND/MP-LAND.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
bat "\"${tool 'MSBuild-15.0'}\" MP-MON/MP-MON.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
},
|
||||
SITE: {
|
||||
sleep 1
|
||||
SITE_TAB: {
|
||||
sleep 4
|
||||
bat "\"${tool 'MSBuild-15.0'}\" MP-SITE/MP-SITE.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
},
|
||||
TABLET: {
|
||||
sleep 2
|
||||
bat "\"${tool 'MSBuild-15.0'}\" MP-TAB/MP-TAB.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
},
|
||||
failFast: false)
|
||||
|
||||
Reference in New Issue
Block a user