Sha256: 55165f08674279e2fb77834f9e1da170e22b9cc53609a39b7b5d967d6cead5cd

Contents?: true

Size: 203 Bytes

Versions: 9

Compression:

Stored size: 203 Bytes

Contents

module Cody
  class Stop < Base
    def run
      run_with_exception_handling do
        codebuild.stop_build(id: build_id)
        puts "Build has been stopped: #{build_id}"
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cody-0.9.8 lib/cody/stop.rb
cody-0.9.7 lib/cody/stop.rb
cody-0.9.6 lib/cody/stop.rb
cody-0.9.5 lib/cody/stop.rb
cody-0.9.4 lib/cody/stop.rb
cody-0.9.3 lib/cody/stop.rb
cody-0.9.2 lib/cody/stop.rb
cody-0.9.1 lib/cody/stop.rb
cody-0.9.0 lib/cody/stop.rb