appveyor / webhooks Goto Github PK
View Code? Open in Web Editor NEWGit and Mercurial server-side webhooks for triggering AppVeyor builds
Git and Mercurial server-side webhooks for triggering AppVeyor builds
AppVeyor website do not display properly git comments that have multiple lines. I am using post-receive.rb script. After triggering new build commit message visible on the website have "\n" instead of actual new line characters. Example:
"AppVeyor setting updated\n\nSigned-off-by: Author <email_addr>"
In the README.md file, near the bottom,
http://curl.haxx.se/ca/cacert.pem
can be changed to
https://curl.haxx.se/ca/cacert.pem
Sorry about the issue, but for this one thing didn't want to fork...
git/post-receive.rb
didn't work for me, because it wasn't sendinf the ?id=XXXXXXXXXXXX
in the URL request.
I had to apply this change:
diff --git a/git/post-receive.rb b/git/post-receive.rb
index 49eeb6a..d8e79e0 100644
--- a/git/post-receive.rb
+++ b/git/post-receive.rb
@@ -116,7 +116,7 @@ payload = {
# send webhook
uri = URI(webhook_url)
-req = Net::HTTP::Post.new(uri.path, initheader = {'Content-Type' =>'application/json'})
+req = Net::HTTP::Post.new(uri.request_uri, initheader = {'Content-Type' =>'application/json'})
# ruby 2.0: req = Net::HTTP::Post.new uri
#req.basic_auth 'username', 'password'
req.body = payload.to_json
Hi
i get the following error:
post-receive:92:in `split': invalid byte sequence in US-ASCII (ArgumentError)
i think its because my Author name contains a ΓΆ
char
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.