Merge "[TRAIN ONLY] Handle empty role Specific Parameter" into stable/train

This commit is contained in:
Zuul 2020-10-24 00:08:47 +00:00 committed by Gerrit Code Review
commit decc73ab79
1 changed files with 1 additions and 1 deletions

View File

@ -618,7 +618,7 @@ workflows:
concurrency: 1
action: std.echo output=<% "{}Parameters".format($.role_name) %>
publish:
user_provided_role_specific: <% let(param => task().result) -> $.user_params.items().where( $param.contains($[0]) ).select( $[1] ).flatten() %>
user_provided_role_specific: <% let(param => task().result) -> $.user_params.items().where( $param.contains($[0]) and $[1] != null ).select( $[1] ).flatten() %>
is_user_role_specific_input_provided:
on-success: