summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatalin Scrieciu <catalin.scrieciu@enea.com>2016-07-15 16:08:27 +0200
committerCatalin Scrieciu <catalin.scrieciu@enea.com>2016-07-15 16:08:27 +0200
commit5f3fc41e7f1c6808b4284b7bf9378cd366ed7479 (patch)
tree5aa52c52216320e3174ef487165aca0d225c228c
parentcd68130d258a5920bd4a0e527bd506bd373aa034 (diff)
downloadel_manifests-standard-5f3fc41e7f1c6808b4284b7bf9378cd366ed7479.tar.gz
test
-rw-r--r--Jenkinsfile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index a29dd8e..7f77d48 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -30,6 +30,10 @@ def imageBuild(imageType, machine, profile, buildStamp, releaseLayer){
30 print profile 30 print profile
31 print buildStamp 31 print buildStamp
32 print releaseLayer 32 print releaseLayer
33 print pwd()
34 dir (trg){
35 unstash 'poky'
36 }
33 } 37 }
34 } 38 }
35} 39}
@@ -61,12 +65,14 @@ def targetBuild(trg, images_to_buid, profile, buildStamp, releaseLayer){
61 url: 'git@git.enea.se:linux/meta-enea-test.git']]]) 65 url: 'git@git.enea.se:linux/meta-enea-test.git']]])
62 print 'Finished cloing meta-enea-test' 66 print 'Finished cloing meta-enea-test'
63 print pwd() 67 print pwd()
64 stash includes: 'poky/*', name: trg+'_poky', useDefaultExcludes: false 68 dir (poky){
69 stash trg+'_poky'
70 }
65 } 71 }
66 } 72 }
67 def buildImageMap = [:] 73 def buildImageMap = [:]
68 for (image in images_to_buid){ 74 for (image in images_to_buid){
69 def imageId = image+'_build' 75 def imageId = 'build_'+image+'_for_'+trg
70 buildImageMap[imageId] = imageBuild(imageId, trg, profile, buildStamp, releaseLayer) 76 buildImageMap[imageId] = imageBuild(imageId, trg, profile, buildStamp, releaseLayer)
71 } 77 }
72 parallel buildImageMap 78 parallel buildImageMap