Sha256: 5218ee194f41d7473482f675cbd850d2feb4584709523b1ab286f0681c1e3778
Contents?: true
Size: 467 Bytes
Versions: 3
Compression:
Stored size: 467 Bytes
Contents
Houston.config.on "alert:err:deployed" => "alert:autoresolve-err" do error_tracker = deploy.project.error_tracker message = "Resolved by Houston when " message << (commit.url ? "[#{commit.sha[0...7]}](#{commit.url})" : commit.sha[0...7]) message << " was [deployed to #{deploy.environment_name}](#{deploy.url})" Houston.try({max_tries: 3, ignore: true}, Faraday::Error::TimeoutError) do error_tracker.resolve! alert.number, message: message end end
Version data entries
3 entries across 3 versions & 1 rubygems