declare all parameters, fix names of files on release (#1392)
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
51ff6395b8
commit
0238d84924
1
Makefile
1
Makefile
|
@ -220,7 +220,6 @@ release:
|
|||
|
||||
gomobile-install:
|
||||
go get -u golang.org/x/mobile/cmd/gomobile
|
||||
gomobile init
|
||||
|
||||
release-install:
|
||||
go get -u github.com/c4milo/github-release
|
||||
|
|
|
@ -2,10 +2,15 @@ pipeline {
|
|||
agent { label 'linux' }
|
||||
|
||||
parameters {
|
||||
string(
|
||||
name: 'BRANCH',
|
||||
defaultValue: 'develop',
|
||||
description: 'Name of branch to build.'
|
||||
)
|
||||
booleanParam(
|
||||
name: 'RELEASE',
|
||||
description: 'Enable to create a new release on GitHub and DigitalOcean Space.',
|
||||
defaultValue: false,
|
||||
description: 'Enable to create a new release on GitHub and DigitalOcean Space.',
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,19 @@
|
|||
pipeline {
|
||||
agent { label 'linux' }
|
||||
|
||||
parameters {
|
||||
string(
|
||||
name: 'BRANCH',
|
||||
defaultValue: 'develop',
|
||||
description: 'Name of branch to build.'
|
||||
)
|
||||
booleanParam(
|
||||
name: 'RELEASE',
|
||||
defaultValue: false,
|
||||
description: 'Enable to create build for release.',
|
||||
)
|
||||
}
|
||||
|
||||
options {
|
||||
timestamps()
|
||||
disableConcurrentBuilds()
|
||||
|
|
|
@ -1,6 +1,19 @@
|
|||
pipeline {
|
||||
agent { label 'macos' }
|
||||
|
||||
parameters {
|
||||
string(
|
||||
name: 'BRANCH',
|
||||
defaultValue: 'develop',
|
||||
description: 'Name of branch to build.'
|
||||
)
|
||||
booleanParam(
|
||||
name: 'RELEASE',
|
||||
defaultValue: false,
|
||||
description: 'Enable to create build for release.',
|
||||
)
|
||||
}
|
||||
|
||||
options {
|
||||
timestamps()
|
||||
disableConcurrentBuilds()
|
||||
|
|
|
@ -1,6 +1,19 @@
|
|||
pipeline {
|
||||
agent { label 'linux' }
|
||||
|
||||
parameters {
|
||||
string(
|
||||
name: 'BRANCH',
|
||||
defaultValue: 'develop',
|
||||
description: 'Name of branch to build.'
|
||||
)
|
||||
booleanParam(
|
||||
name: 'RELEASE',
|
||||
defaultValue: false,
|
||||
description: 'Enable to create build for release.',
|
||||
)
|
||||
}
|
||||
|
||||
options {
|
||||
timestamps()
|
||||
disableConcurrentBuilds()
|
||||
|
|
|
@ -62,8 +62,10 @@ def buildBranch(name = null, buildType = null) {
|
|||
/* this allows us to analize the job even after failure */
|
||||
propagate: false,
|
||||
parameters: [
|
||||
[name: 'BRANCH', value: branchName, $class: 'StringParameterValue'],
|
||||
])
|
||||
[name: 'BRANCH', value: branchName, $class: 'StringParameterValue'],
|
||||
[name: 'RELEASE', value: params.RELEASE, $class: 'BooleanParameterValue'],
|
||||
]
|
||||
)
|
||||
/* BlueOcean seems to not show child-build links */
|
||||
println "Build: ${resp.getAbsoluteUrl()} (${resp.result})"
|
||||
if (resp.result != 'SUCCESS') {
|
||||
|
|
Loading…
Reference in New Issue