Questions tagged [git-webhooks]

Questions related to using and implementing WebHooks with respect to Git version control system

54 questions
1
vote
1 answer

Throwing GitLab Webhook error while integrating

I am getting error while adding webhook in GitLab for zohoproject. "Hook executed successfully but returned HTTP 401 {"error":{"code":6401,"message":"Unauthorized Access"}}" I am simply adding webhook url of zoho project inside…
deepak
  • 141
  • 2
  • 9
1
vote
1 answer

Parsing a GitHub WebHook payload results in Json decode error

While parsing the payload received from a GitHub WebHook, facing this issue JSONDecodeError: Expecting value: line 1 column 1 (char 0) payload looks…
Chaitanya Bapat
  • 3,381
  • 6
  • 34
  • 59
1
vote
1 answer

Service Hook can be used to trigger update dependencies in another repository?

I've been investigating a solution for the following problem for our local Microsoft Team Foundation Server that we use with Git: We have several repositories with some level of dependency. For example, we have a "Messages" repository that will be…
1
vote
1 answer

Issue while triggering jenkins pipeline using github webhooks for specific branch

Trying to trigger Jenkins pipeline using Github webhooks for a specific branch. Pipeline should trigger for a merge commit but having an issue in triggering. Tried it using 'Generic Webhook Trigger' plugin. If I use ^(refs/heads/release-1.0)$ in…
1
vote
0 answers

How to trigger a Git-webhook to merge any protetcted github branch to a test branch via Jenkinsfile?

I have built a jenkins pipeline using jenkinsfile which basically runs pylint and unit tests on my test branch (let's say "devops" branch). Now i want to merge this test-branch, devops to my master branch which is a protected branch i.e I cannot…
1
vote
1 answer

add git webhook through a script

Is it possible to add a webhook through a script? Usually, I go to hubricator site and give org/repo details and it creates a webhook for phabricator instance for me so that when some one does checkin, a phabricator review is generated. Can I create…
dodo
  • 31
  • 5
1
vote
2 answers

Create Git Log using Gitlab CI

We need to generate commit history file automatically when user commits code into git repository. It can be done using Jenkins, Gitlab Webhooks and Jenkins Git Changelog plugin. Also, it can be created using below git command. $ git log…
kRiZ
  • 785
  • 8
  • 14
1
vote
0 answers

"Webhook to Jenkins for Bitbucket Server" does only work when executed manually

I set up a Git repository on a local Bitbucket server and also set up a Jenkins server with a job that should be triggered when something was committed to that repository. Unfortunately the job only runs when I manually hit the button "Trigger…
schoenk
  • 824
  • 3
  • 13
  • 31
1
vote
1 answer

github jenkins webhook expecting a jenkins job that has been deleted

I have set up Github with a Jenkins (GitHub plugin) integration/service and webhooks (one for push only, one for specified events including comments). I am replacing an old Jenkins "project" (aka job) with a new one that is programmatically…
barclay
  • 4,362
  • 9
  • 48
  • 68
1
vote
1 answer

How to get project name from Gitlab webhook event payload

I am using event payload at Jenkins side to run sonar scan, for this, I need project name variable. In Gitlab request, I can see that project details are sent to Jenkins but in Jenkins when I echo environment I can only see below…
Dhananjay
  • 354
  • 1
  • 2
  • 15
1
vote
1 answer

Why enterprise github can't deliver payload to webhook with ssl secured?

verified the certificate information of https://jenkins.example.com/github-webhook with https://cryptoreport.websecurity.symantec.com/checker/. Github repeatedly says following We couldn’t deliver this payload: Peer certificate cannot be…
chandan
  • 964
  • 1
  • 19
  • 26
0
votes
1 answer

Jenkins doesn't start a build

I have a github webhook that sends request to jenkins BUT jenkins doesn't start my job. In jenkins logs I have found: Received PushEvent for https://github.com/xxxxx/xxxxxxx from xxxxxxx ⇒ http://xx:xx/github-webhook/ And in my job setting I set…
0
votes
1 answer

Custom messages for Github Slack integration for issue tracking

Is it possible to customize the messages that github will send to the slack webhook? I was able to set it up to where I get notifications whenever an issue is created/deleted/edited, however I would like to only get notifications for specific issues…
Sparge
  • 13
  • 4
0
votes
2 answers

Unable to deploy Git repository receiver with flux on gke cluster

I have been getting my hands dirty by setting up a webhook receiver with flux on GKE I followed the insructions of this guide . According to it I need to deploy Git repository receiver as shown below : apiVersion:…
pkumarn
  • 1,383
  • 4
  • 22
  • 29
0
votes
1 answer

Parameterize my repo url by parsing webhook request body/JSONpath

I am working on a multibranch pipeline Jenkins setup and build is triggered using webhook in Git.. Here I have selected Git Branch source as - Git. When I push any change in git, webhook creates a request body with all push event details. How can I…