Skip to content

Commit f166858

Browse files
authored
Merge pull request #5424 from thk123/document-log-access
Add documentation for accessing codebuild logs
2 parents 069db73 + 4b5dac8 commit f166858

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

AccessingCodebuildLogs.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Accessing CodeBuild Logs
2+
------------------------
3+
4+
The CodeBuild jobs on PRs can fail, but the logs have restricted access.
5+
6+
To get hold of the logs you need to do the following:
7+
8+
1. Get the job URL
9+
10+
Right click on the relevant job, and copy the link URL
11+
12+
![GetLink](doc/assets/GetLink.png)
13+
14+
2. Extract the ID
15+
16+
The link should look something like:
17+
18+
> https://us-east-1.console.aws.amazon.com/codebuild/home?region=us-east-1#/builds/cbmc-linux-clang:*a32eddfe-19e6-45d9-b0e4-d9a92e5b5698*/view/new
19+
20+
The job ID is the UID following the title of the job, int his case:
21+
22+
> `a32eddfe-19e6-45d9-b0e4-d9a92e5b5698`
23+
24+
3. Download the log
25+
26+
Go to the following URL:
27+
28+
http://cbmclogs.diffblue.com/{job-name}/{job-id}.gz
29+
30+
Where `job-name` is the name of the job (e.g. `cbmc` or `cbmc-linux-clang`) and `job-id` is the ID extracted in the previous step.

doc/assets/GetLink.png

291 KB
Loading

0 commit comments

Comments
 (0)