Skip to content

Commit

Permalink
Merge pull request #4975 from vsebe/jenkins.extra.src
Browse files Browse the repository at this point in the history
Fix NPE for extra_getsource_options
  • Loading branch information
pshipton committed Mar 4, 2019
2 parents c19519c + 34b6601 commit 0b1db0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildenv/jenkins/common/variables-functions
Expand Up @@ -894,7 +894,7 @@ def set_build_extra_options(build_specs=null) {
// EXTRA_CONFIGURE_OPTIONS_JDK<release>_<spec>
// EXTRA_MAKE_OPTIONS_JDK<release>_<spec>
def extraOptions = params."${it}_JDK${release}_${spec}"
if (!extraOptions) {
if (!extraOptions && VARIABLES."${spec}") {
extraOptions = get_value(VARIABLES."${spec}"."${it.toLowerCase()}", release)
}

Expand Down

0 comments on commit 0b1db0c

Please sign in to comment.