Skip to content

Commit

Permalink
Show errors on configurations that are not set yet
Browse files Browse the repository at this point in the history
  • Loading branch information
mythsunwind committed Mar 11, 2020
1 parent 48e446a commit e9305c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jenkins/deployment.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ node('master') {
if (params.Release.equals('Production')) {
appName = 'Wire-macOS-Production'
} else if (params.Release.equals('Custom')) {
appName = 'Wire by XY - macOS'
error('Please set appName and distributionGroups')
} else if (params.Release.equals('Internal')) {
appName = 'Wire-macOS-Internal'
distributionGroups = 'All-users-of-Wire-macOS-Internal'
Expand Down Expand Up @@ -147,7 +147,7 @@ node('master') {
}
}
} else if (params.Release.equals('Custom')) {
// do nothing
error('Please set S3_NAME')
} else if (params.Release.equals('Internal')) {
S3_NAME = 'linux-internal'

Expand Down

0 comments on commit e9305c6

Please sign in to comment.