Skip to content

Commit

Permalink
Merge branch 'fix-e2e-report-webhook-url' into 'master'
Browse files Browse the repository at this point in the history
Fixed e2e report notify channel should be NOTIFY_CHANNEL instead of GUILD

See merge request kchat/webapp!828
  • Loading branch information
antonbuks committed Jul 10, 2024
2 parents 8156bc7 + 4ae1657 commit 7f82f7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab/e2e_report_notify.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
CI_PAGES_PREFIX = ENV['PAGES_PREFIX']
CI_PAGES_URL = ENV['CI_PAGES_URL']
CI_PROJECT_ID = ENV['CI_PROJECT_ID']
GUILD_WEBHOOK_URL = ENV['GUILD_WEBHOOK_URL']
WEBHOOK_URL = ENV['NOTIFY_CHANNEL']

# Function to send a message to kChat
def send_to_kchat(msg)
uri = URI(GUILD_WEBHOOK_URL)
uri = URI(WEBHOOK_URL)
req = Net::HTTP::Post.new(uri, 'Content-Type' => 'application/json')

message = <<-MESSAGE
Expand Down

0 comments on commit 7f82f7d

Please sign in to comment.