set BUILD_TYPE to pr as default

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
This commit is contained in:
Jakub Sokołowski 2018-12-11 12:00:22 +01:00 committed by Igor Mandrigin
parent 45aa302637
commit 63ac18afde
No known key found for this signature in database
GPG Key ID: 4A0EDDE26E66BC8B
5 changed files with 40 additions and 0 deletions

View File

@ -13,6 +13,14 @@ pipeline {
))
}
parameters {
booleanParam(
name: 'BUILD_TYPE',
description: 'Specify build type. Values: pr / nightly / release',
defaultValue: 'pr',
)
}
environment {
BUILD_PLATFORM = 'android'
LANG = 'en_US.UTF-8'

View File

@ -1,6 +1,14 @@
pipeline {
agent { label 'macos' }
parameters {
booleanParam(
name: 'BUILD_TYPE',
description: 'Specify build type. Values: pr / nightly / release',
defaultValue: 'pr',
)
}
options {
timestamps()
/* Prevent Jenkins jobs from running forever */

View File

@ -14,6 +14,14 @@ pipeline {
}
}
parameters {
booleanParam(
name: 'BUILD_TYPE',
description: 'Specify build type. Values: pr / nightly / release',
defaultValue: 'pr',
)
}
options {
timestamps()
/* Prevent Jenkins jobs from running forever */

View File

@ -1,6 +1,14 @@
pipeline {
agent { label 'macos' }
parameters {
booleanParam(
name: 'BUILD_TYPE',
description: 'Specify build type. Values: pr / nightly / release',
defaultValue: 'pr',
)
}
options {
timestamps()
/* Prevent Jenkins jobs from running forever */

View File

@ -14,6 +14,14 @@ pipeline {
}
}
parameters {
booleanParam(
name: 'BUILD_TYPE',
description: 'Specify build type. Values: pr / nightly / release',
defaultValue: 'pr',
)
}
options {
/* Prevent Jenkins jobs from running forever */
timeout(time: 45, unit: 'MINUTES')