diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2017-07-14 16:42:18 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2017-07-14 16:45:47 -0600 |
| commit | 618bce8e10c070ab5f49651d43ffbbd8c800c8f3 (patch) | |
| tree | d5e3bf8bfdce47e28e635c2d4c538d6fd6e5c77d /Rakefile | |
| parent | d96be2f6388ceae95203be58eb85228556fa9169 (diff) | |
try the commit URL in the triggered build message
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -147,9 +147,9 @@ desc 'Trigger builds for all dependent projects on Travis CI' 'Authorization' => %(token #{token}) } if (commit_hash = ENV['TRAVIS_COMMIT']) - commit_memo = %( (#{commit_hash})) + commit_memo = %(\\n\\nhttps://github.com/asciidoctor/asciidoctor/commit/#{commit_hash}) end - payload = %({ "request": { "branch": "master", "message": "Build triggered by change to Asciidoctor#{commit_memo}" } }) + payload = %({ "request": { "branch": "master", "message": "Build triggered by Asciidoctor#{commit_memo}" } }) (http = Net::HTTP.new 'api.travis-ci.org', 443).use_ssl = true request = Net::HTTP::Post.new %(/repo/#{org}%2F#{name}/requests), header request.body = payload |
