Commit 016e6c98 authored by Mark Lapierre's avatar Mark Lapierre

Merge branch 'attach-ci_job_url-to-qa-json-report' into 'master'

Attach CI_JOB_URL to json report as well

See merge request gitlab-org/gitlab!44762
parents 596f8a00 8351d414
...@@ -90,8 +90,8 @@ module QA ...@@ -90,8 +90,8 @@ module QA
ENV['GITLAB_QA_ADMIN_ACCESS_TOKEN'] ENV['GITLAB_QA_ADMIN_ACCESS_TOKEN']
end end
def ci_job_id def ci_job_url
ENV['CI_JOB_ID'] ENV['CI_JOB_URL']
end end
def ci_project_name def ci_project_name
......
...@@ -51,7 +51,7 @@ module QA ...@@ -51,7 +51,7 @@ module QA
testcase: example.metadata[:testcase], testcase: example.metadata[:testcase],
quarantine: example.metadata[:quarantine], quarantine: example.metadata[:quarantine],
screenshot: example.metadata[:screenshot], screenshot: example.metadata[:screenshot],
ci_job_id: QA::Runtime::Env.ci_job_id ci_job_url: QA::Runtime::Env.ci_job_url
} }
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment