Sha256: 4e2ed58cff9d87ee535eb3d1cfa867ef61e50ea56f0bb706c793ea5a6cdaed93
Contents?: true
Size: 609 Bytes
Versions: 3
Compression:
Stored size: 609 Bytes
Contents
#!/usr/bin/env ruby require "bundler/setup" require "unofficial_buildkite_client" # You can add fixtures and/or initialization code here to make experimenting # with your gem easier. You can also use a different console, if you like. client = UnofficialBuildkiteClient.new(org_slug: "rails", pipeline_slug: "rails") builds = client.fetch_builds(created_at_from: "2019-04-19T07:00", first: 1, state: ["FAILED", "PASSED"]) build = client.fetch_build(number: builds.first[:number]) job = build[:jobs].first log = client.fetch_log(build_number: job[:build_number], job_id: job[:id]) Bundler.require Pry.start
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
unofficial_buildkite_client-0.3.0 | bin/console |
unofficial_buildkite_client-0.2.0 | bin/console |
unofficial_buildkite_client-0.1.0 | bin/console |