Commit ac0af237 authored by Mark Lapierre's avatar Mark Lapierre

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

Attach CI_JOB_ID into QA JSON report

See merge request gitlab-org/gitlab!44602
parents 2e1b16f4 ac773e0d
......@@ -81,6 +81,10 @@ module QA
ENV['GITLAB_QA_ADMIN_ACCESS_TOKEN']
end
def ci_job_id
ENV['CI_JOB_ID']
end
def ci_project_name
ENV['CI_PROJECT_NAME']
end
......
......@@ -50,7 +50,8 @@ module QA
pending_message: example.execution_result.pending_message,
testcase: example.metadata[:testcase],
quarantine: example.metadata[:quarantine],
screenshot: example.metadata[:screenshot]
screenshot: example.metadata[:screenshot],
ci_job_id: QA::Runtime::Env.ci_job_id
}
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