This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -1,7 +1,10 @@
|
|||||||
@Library('SHS.Platforms') _
|
@Library('SHS.Platforms') _
|
||||||
properties([
|
properties([
|
||||||
copyArtifactPermission('*'),
|
copyArtifactPermission('*'),
|
||||||
buildDiscarder(logRotator(numToKeepStr: "10", artifactNumToKeepStr: "5"))
|
buildDiscarder(logRotator(numToKeepStr: "10", artifactNumToKeepStr: "5")),
|
||||||
|
parameters(
|
||||||
|
[booleanParam(name: 'Debug', defaultValue: false, description: 'Build debug version')]
|
||||||
|
)
|
||||||
])
|
])
|
||||||
node {
|
node {
|
||||||
stage("Download sources") {
|
stage("Download sources") {
|
||||||
@@ -10,6 +13,6 @@ node {
|
|||||||
def pl = new org.SHS.Platforms(this)
|
def pl = new org.SHS.Platforms(this)
|
||||||
pl.get()
|
pl.get()
|
||||||
pl.forEach ({ dist, toolchain ->
|
pl.forEach ({ dist, toolchain ->
|
||||||
echo "build=${env.BUILD_NUMBER}"
|
echo "build=${env.BUILD_NUMBER}, debug=${Debug}"
|
||||||
}, whiteList: ["debian"])
|
}, whiteList: ["debian"])
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user