Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Mar 2, 2020
1 parent c091659 commit 4ab4833
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/continuous_integration.nim
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@ proc hostInfo*(): string =
let commit = getEnv("NIM_CI_Build_SourceVersion")
if isPR:
let id = getEnv("NIM_CI_System_PullRequest_PullRequestNumber")
url = "{url}/pull/{id}"
url = fmt"{url}/pull/{id}"
else:
url = "{url}/commit/{commit}"
url = fmt"{url}/commit/{commit}"

let branch = getEnv("NIM_CI_Build_SourceBranchName")
let msg = getEnv("NIM_CI_Build_SourceVersionMessage").quoteShell
let buildNum = getEnv("NIM_CI_Build_BuildNumber")
result.add "\n"
result.add fmt"""isPR:{isPR}, url: {url}, branch: {branch}, commit: {commit}, msg: {msg}, mode: {mode}, buildNum: {buildNum}"""
result.add "\n"

0 comments on commit 4ab4833

Please sign in to comment.