Skip to content
Snippets Groups Projects

Add support for new Alpine's pipelines

Merged Pablo Correa Gomez requested to merge some-refactoring-to-fix-alpine into master
1 unresolved thread
+ 3
1
@@ -36,7 +36,9 @@ class PipelineMetadata:
)
if trigger_jobs:
if len(trigger_jobs) != 1:
raise RuntimeError(f"Unexpected number of jobs: got {trigger_jobs} instead of 1")
raise RuntimeError(
f"Unexpected number of jobs: got {trigger_jobs} instead of 1"
)
pipeline_id = trigger_jobs[0]["downstream_pipeline"]["id"]
pipeline_project_id = trigger_jobs[0]["downstream_pipeline"]["project_id"]
Loading