3
All checks were successful
p_test/pipeline/head This commit looks good

This commit is contained in:
2024-12-02 18:14:34 +03:00
parent 5f6a7c194d
commit 0d4510d84a

7
Jenkinsfile vendored
View File

@@ -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"])
} }