Questions related to using and implementing WebHooks with respect to Git version control system
Questions tagged [git-webhooks]
54 questions
                    
                    35
                    
            votes
                
                2 answers
            
        Github Webhook With Jenkins return 302 Found
I set up localhost jenkins, using ngrok to expose my jenkins to github.
I didn't set up any credentials.
When I test delivery from webhook, it shows 302 not found.
Response: 
Content-Length: 0
Date: Mon, 16 Apr 2018 02:09:22 GMT
Location:…
         
    
    
        Xiaoxi Bian
        
- 359
- 1
- 3
- 4
                    7
                    
            votes
                
                2 answers
            
        Read webhook payload in Gitlab CI
I have a project (PROJECT_A) that is triggered through a webhook, and expects the variable $PRODUCT to be set. Its value is used to trigger a certain path in the build. The job in the .gitlab-ci.yml file looks like this:
deploy:
  stage: publish
 …
         
    
    
        Carsten
        
- 1,912
- 1
- 28
- 55
                    6
                    
            votes
                
                2 answers
            
        Github Webhooks secret with AWS API Gateway
I am trying to have a Github Webhook launch an AWS Lambda I have. 
The best way I can figure out how to do that is to use AWS API Gateway, the issue is security. 
Github Webhooks will only send a secret with the POST call.
I can't find any way to…
         
    
    
        Kyle Calica-St
        
- 2,629
- 4
- 26
- 56
                    5
                    
            votes
                
                4 answers
            
        Reuse one Jenkins jobs for multiple Git (GitHub) repositories
I have a very simple Jenkins build which is needed for several repositories. All these repositories have the same organisation, the same branches, etc. There is no difference except the repository name.
Each single repository should be able to…
         
    
    
        Guite
        
- 203
- 1
- 2
- 11
                    4
                    
            votes
                
                1 answer
            
        Github API Webhook/Notification for All checks passed on PR
I have an app that makes changes to a repo on a new branch and commits it to a repo, then creates a PR. The PR starts two builds - one for travis, and one for jenkins. I was wondering if there's a way I can receive a notification once all the checks…
         
    
    
        Humair
        
- 91
- 5
                    3
                    
            votes
                
                0 answers
            
        "Filter branches by name" showing error in Jenkins Build Trigger
"Filter branches by name" in "Build when a change is pushed to GitLab" build trigger is showing below error while providing the branch name in the Include box in jenkins:
Error: Following patterns don't match any branch in source repository: qa
I…
         
    
    
        Pratztr
        
- 57
- 9
                    3
                    
            votes
                
                0 answers
            
        "User Filter" and "Branch Filter" equivalent for Webhooks in BitBucket
We are trying to migrate from Hooks to Webhooks on 'BitBucket' and can't find a way to specify the Branch Filter and User Filter.
While using Hooks, we just need to specify the regex values as in the image below to notify a job to trigger for…
         
    
    
        Prasann
        
- 1,263
- 2
- 11
- 18
                    3
                    
            votes
                
                2 answers
            
        Jenkins GitHub plugin : failed to validate the account
I'm trying to configure the GitHub server in Jenkins Configure settings tab to set up webhooks. I chose my credentials from the drop-down menu (secret text using a GitHub Personal Access token) but when I click on Test connection I always get…
         
    
    
        Nicolas Papoutsis
        
- 45
- 2
- 11
                    2
                    
            votes
                
                1 answer
            
        Can Gitlab webhooks be used to trigger Tekton Pipelines?
I have a working Tekton Pipeline that is successfully triggered by a GitHub webhook, but it doesn't work with Gitlab webhook. I can see that the Gitlab webhook is triggered and that it gets to the EventListener container in OpenShift, but the…
         
    
    
        Cesar Ida
        
- 21
- 2
                    2
                    
            votes
                
                2 answers
            
        One github commit creates multiple Codebuild builds
I setup a test environment Codebuild + Github and am facing an issue: Every time I make a commit in Github, Codebuild will trigger 3 identical builds.
My buildspec.yml:
version: 0.2
phases:
  pre_build:
    commands:
      # Taskfile
      - curl…
         
    
    
        Eric
        
- 477
- 3
- 17
                    2
                    
            votes
                
                1 answer
            
        Reproducing Github Webhook -> Jenkins request on Postman fails : signature didn't match to calculated
Github Webhook (currently disabled) is connected to Jenkins Server.
One of the successful requests is pull request create.
I am trying to reproduce the same request and see if it succeeds by trying the same request (URL, headers and payload) on…
         
    
    
        Chaitanya Bapat
        
- 3,381
- 6
- 34
- 59
                    2
                    
            votes
                
                1 answer
            
        AWS CodePipeline github webhook not triggering on commit
I set up an AWS CodePipeline that uses github as a source, CodeBuild for build, and deploys to ElasticBeanstalk.
I was able to get it working when everything was set up in the console and I was an admin of the github account (I used a different…
         
    
    
        edank
        
- 599
- 7
- 16
                    2
                    
            votes
                
                1 answer
            
        How to set up github webhook trigger on pushing in certain branch
I have Jenkins pipeline, and configured github webhook to trigger pipeline.
How to make triggering pipeline when the certain branch was pushed, instead of triggering pipeline by pushing to every branch ?
         
    
    
        Igor Vlasuyk
        
- 514
- 2
- 10
- 22
                    2
                    
            votes
                
                1 answer
            
        Freestyle Jenkins job and Gitlab integration | with multiple webhooks, pipelines stays in pending state forever
I have setup Gitlab Jenkins integration with 3 webhooks for 3 jenkins jobs along with "Publish build status to Gitlab" in post build action. Facing issue as explained below.
Setup:
Jenkins version V2.152, Gitlab version 11.7.0-ee, 3 Webhooks for 3…
         
    
    
        Toral
        
- 551
- 1
- 5
- 13
                    2
                    
            votes
                
                1 answer
            
        Does JGit support Webhooks?
I am experimenting with Webhooks for GitHub. As I understand, we can register URLs for Webhooks in Github settings. But I wanted to do this programmatically. I am using JGit for API driven Git management. I couldn't see any obvious support for…
         
    
    
        Omkar Shetkar
        
- 3,488
- 5
- 35
- 50