summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index b4b90d35..6e799ba4 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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