File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -534,11 +534,18 @@ def build(
534
534
"""
535
535
with track_handler (event = AnalyticsEvent .BUILD_PIPELINE ):
536
536
self ._prepare_if_possible ()
537
- deployment , _ , _ = self ._compile (
538
- config_path = config_path ,
539
- steps = step_configurations ,
540
- settings = settings ,
541
- )
537
+
538
+ compile_args = self ._run_args .copy ()
539
+ compile_args .pop ("unlisted" , None )
540
+ compile_args .pop ("prevent_build_reuse" , None )
541
+ if config_path :
542
+ compile_args ["config_path" ] = config_path
543
+ if step_configurations :
544
+ compile_args ["step_configurations" ] = step_configurations
545
+ if settings :
546
+ compile_args ["settings" ] = settings
547
+
548
+ deployment , _ , _ = self ._compile (** compile_args )
542
549
pipeline_id = self ._register ().id
543
550
544
551
local_repo = code_repository_utils .find_active_code_repository ()
You can’t perform that action at this time.
0 commit comments