Skip to content
代码片段 群组 项目
未验证 提交 ac773e0d 编辑于 作者: Lin Jen-Shin's avatar Lin Jen-Shin
浏览文件

Attach CI_JOB_ID into QA JSON report

上级 993ee13f
No related branches found
No related tags found
无相关合并请求
......@@ -81,6 +81,10 @@ def admin_personal_access_token
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 @@ def format_example(example)
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
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册