Commit ac773e0d authored by Lin Jen-Shin's avatar Lin Jen-Shin

Attach CI_JOB_ID into QA JSON report

parent 993ee13f
......@@ -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