Skip to content

Commit

Permalink
Actually use parse build number
Browse files Browse the repository at this point in the history
  • Loading branch information
Zentrik committed Jul 26, 2024
1 parent 119d8ca commit 8c3ed6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildkite_logs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function get_log(sha, branch)
end
build_num = build_num_matches.captures[1]

details_url = "https://buildkite.com/" * match(r"julialang/julia-\w*/builds/\d+", html).match * ".json"
details_url = "https://buildkite.com/julialang/julia-$branch/builds/$build_num.json"
details_json = HTTP.get(details_url).body |> JSON3.read
idx = findfirst(x -> x.name == ":linux: build x86_64-linux-gnu", details_json.jobs)

Expand Down

0 comments on commit 8c3ed6a

Please sign in to comment.