Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ac773e0d
Commit
ac773e0d
authored
Oct 07, 2020
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attach CI_JOB_ID into QA JSON report
parent
993ee13f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
qa/qa/runtime/env.rb
qa/qa/runtime/env.rb
+4
-0
qa/qa/support/json_formatter.rb
qa/qa/support/json_formatter.rb
+2
-1
No files found.
qa/qa/runtime/env.rb
View file @
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
...
...
qa/qa/support/json_formatter.rb
View file @
ac773e0d
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment