another try #268
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -34,7 +34,9 @@ def build_docker(dist, release_dir, is_testing, is_debug) {
|
|||||||
}
|
}
|
||||||
properties([
|
properties([
|
||||||
[$class: 'BuildDiscarderProperty', strategy: [$class: 'LogRotator', artifactDaysToKeepStr: '', artifactNumToKeepStr: '10', daysToKeepStr: '', numToKeepStr: '2000']],
|
[$class: 'BuildDiscarderProperty', strategy: [$class: 'LogRotator', artifactDaysToKeepStr: '', artifactNumToKeepStr: '10', daysToKeepStr: '', numToKeepStr: '2000']],
|
||||||
booleanParam(name: 'Debug', defaultValue: false, description: 'Build debug version'),
|
parameters([
|
||||||
|
booleanParam(name: 'Debug', defaultValue: false, description: 'Build debug version')
|
||||||
|
]),
|
||||||
copyArtifactPermission('*')
|
copyArtifactPermission('*')
|
||||||
]);
|
]);
|
||||||
node {
|
node {
|
||||||
@@ -44,7 +46,7 @@ node {
|
|||||||
|
|
||||||
def currentBranch = "${env.BRANCH_NAME}"
|
def currentBranch = "${env.BRANCH_NAME}"
|
||||||
def is_testing = currentBranch.toLowerCase().contains("test")
|
def is_testing = currentBranch.toLowerCase().contains("test")
|
||||||
def is_debug = Boolean.valueOf(Debug)
|
def is_debug = Boolean.valueOf(Debug))
|
||||||
|
|
||||||
def pl = new org.SHS.Platforms(this)
|
def pl = new org.SHS.Platforms(this)
|
||||||
pl.get()
|
pl.get()
|
||||||
|
|||||||
Reference in New Issue
Block a user