discordhooks / appveyor-discord-webhook Goto Github PK
View Code? Open in Web Editor NEW⛓ Here's your serverless solution for sending build status from AppVeyor to Discord as webhooks.
License: MIT License
⛓ Here's your serverless solution for sending build status from AppVeyor to Discord as webhooks.
License: MIT License
I have everything setup properly. However, whenever the AppVeyor CI fails and sends a webhook. It does that. But it never goes through. The error is below and you can view the appveyor.yml here
Hello,
The new lines of commit body dosen't get represented in discord embed. Can this be solved ?
And, request to add a new line between COMMIT_MSG and CREDITS. They look mixed.
Commit link: ShootingKing-AM/PhoneVR@01b1844
Nice easy way for adding webhooks as well as sipping coffee under 5 mins xD
Thanks.
I use the webhook here, but I have errors with PowerShell
At C:\projects\teal\.appveyor_discord_webhook.ps1:89 char:1
+ Invoke-RestMethod -Uri "$WEBHOOK_URL" -Method "POST" -UserAgent "AppV ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
I've tried several things, like putting this line [System.Net.ServicePointManager]::ServerCertificateValidationCallback = { $true }
but nothing works
Any help would be appreciated
I've installed Bastion in this organization. All we need now is to add its configuration.
Configuring it is simple: You can find how to configure it here:
https://github.com/TheBastionBot/Bastion-GitHub-Bot#repository-configuration
If you've any questions regarding any configuration option, feel free to ask.
Related:
DiscordHooks/travis-ci-discord-webhook#12
DiscordHooks/circle-ci-discord-webhook#2
The $env:APPVEYOR_BUILD_VERSION
need to be escaped to prevent Webhook fails if users have spaces/special characters in their project build version (in AppVeyor settings), because AppVeyor allows spaces & special characters in the build version.
Currently this only sends notification to a single webhook. We need to add support for sending notifications to multiple hooks.
Resources
Original Issue: DiscordHooks/travis-ci-discord-webhook#8
Related PR: DiscordHooks/travis-ci-discord-webhook#31
Since this repo is now moved to the DiscordHooks org., we should now update all the links in this repo from k3rn31p4nic/appveyor-discord-webhook
to DiscordHooks/appveyor-discord-webhook
.
PRs are welcome.
Hi,
Fast of all, thank you for your beautiful script. But In my environment it does not work with this error message. Can you help?
git : fatal: not a git repository (or any of the parent directories): .git
At C:\projects\yabause\yabause\build\send.ps1:38 char:17
+ ... UTHOR_NAME="$(git log -1 "$env:APPVEYOR_REPO_COMMIT" --pretty="%aN")"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (fatal: not a gi...ectories): .git:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
git : fatal: not a git repository (or any of the parent directories): .git
Entire log is here.
https://ci.appveyor.com/project/devmiyax/yabause/builds/30049653#L2013
Source code is here.
https://github.com/devmiyax/yabause/blob/appveyor_again/appveyor.yml#L131
Let me first say I'm very new to AppVeyor and I'm probably doing something wrong or expecting behaviour that doesn't work.
When merging a branch to master and AppVeyor builds, it'll properly send a notification to Discord however when a PR is submitted and AppVeyor builds, it'll say that $env:WEBHOOK_URL
isn't passed as the second arg. Yet the log shows it is.
If you'd like to look at the logs (the warning is all the way at the bottom)
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.