Skip to content
This repository has been archived by the owner on Dec 21, 2020. It is now read-only.

Commit

Permalink
Scripts: Added GH links to report
Browse files Browse the repository at this point in the history
  • Loading branch information
pbeckingham committed May 13, 2018
1 parent 38b0e69 commit 034337f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/report
Expand Up @@ -333,7 +333,11 @@ def composeCommitDescription(config, project, commit):
commit_url = commit['repository'].replace('.git', '')
commit_url += '/commit/{}'.format(commit['commit'])
link = '<a href="{}">{}</a>{}'.format(commit_url, commit['commit'][:8], locked)

elif 'github.com' in commit['repository']:
project_name = project.replace('.git', '')
commit_url = commit['repository'].replace('.git', '')
commit_url += '/commit/{}'.format(commit['commit'])
link = '<a href="{}">{}</a>{}'.format(commit_url, commit['commit'][:8], locked)
else:
link = '{}{}'.format(commit['commit'][:8], locked)

Expand Down

0 comments on commit 034337f

Please sign in to comment.