Skip to content
Snippets Groups Projects
Commit 3ddefc70 authored by Chloe Liu's avatar Chloe Liu :speech_balloon:
Browse files

Merge branch 'hm-fix-pipeline-wait-nilclasserror' into 'master'

Increase wait and fetch pipeline id only when not empty

See merge request !127702



Merged-by: default avatarChloe Liu <yliu@gitlab.com>
Approved-by: default avatarChloe Liu <yliu@gitlab.com>
Reviewed-by: default avatarChloe Liu <yliu@gitlab.com>
Co-authored-by: default avatarhmuralidhar <hmuralidhar@gitlab.com>
parents 864fc260 ed907aff
No related branches found
No related tags found
1 merge request!127702Increase wait and fetch pipeline id only when not empty
Pipeline #948136931 failed
Pipeline: E2E Omnibus GitLab EE

#948206617

    Pipeline: E2E GDK

    #948151734

      Pipeline: GitLab

      #948139618

        ......@@ -238,7 +238,7 @@ def push_security_reports
        end
        def wait_for_pipeline_success
        Support::Waiter.wait_until(sleep_interval: 3, message: "Check for pipeline success") do
        Support::Waiter.wait_until(sleep_interval: 10, message: "Check for pipeline success") do
        latest_pipeline.status == 'success'
        end
        end
        ......@@ -246,7 +246,7 @@ def wait_for_pipeline_success
        def latest_pipeline
        Resource::Pipeline.fabricate_via_api! do |pipeline|
        pipeline.project = project
        pipeline.id = project.pipelines.first[:id]
        pipeline.id = project.pipelines.first&.fetch(:id)
        end
        end
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Finish editing this message first!
        Please register or to comment