initial
This commit is contained in:
17
Jenkinsfile
vendored
Normal file
17
Jenkinsfile
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
@Library('SHS.Platforms') _
|
||||
node {
|
||||
stage("Download sources") {
|
||||
checkout scm
|
||||
}
|
||||
def pl = new org.SHS.Platforms(this)
|
||||
pl.get()
|
||||
pl.forEach ({ dist ->
|
||||
def args = "./all"
|
||||
args += " --build-arg image_from=${dist.docker_image}"
|
||||
args += " --build-arg build_type=Debug"
|
||||
//print "${env.DOCKER_PREFIX}/${dist.docker_image} -> ${args}"
|
||||
docker.build("${dist.docker_image}-debug", args)
|
||||
},
|
||||
ondemand: true
|
||||
)
|
||||
}
|
||||
5
all/Dockerfile
Normal file
5
all/Dockerfile
Normal file
@@ -0,0 +1,5 @@
|
||||
ARG image_from
|
||||
FROM ${image_from}
|
||||
|
||||
ARG build_type
|
||||
ENV BUILD_TYPE=${build_type}
|
||||
Reference in New Issue
Block a user