Questions tagged [jenkins-github-plugin]

54 questions
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

Jenkins Github organization scan a team

We have a Github organization, which is broken into teams. I want to use Jenkins github plugin to just scan my teams folder, is this possible? So far I can only get it to scan the whole org which has thousands of repos in it, or scan my user which…
apr_1985
  • 1,764
  • 2
  • 14
  • 27
2
votes
1 answer

Trigger specific job on push to specific directory

We have 12 different projects inside the same repository and have a different job to run for each of these. I want to know how I can trigger a job only when a change has happened in a specific folder, since running all 12 on every push takes too…
chamini2
  • 2,820
  • 2
  • 24
  • 37
1
vote
1 answer

How to read GitHub payload in groovy Jenkinsfile?

I have a web hook configured in my GitHub org that triggers a Jenkins pipeline every time a new repo is created. What I am trying to do is get some of the values from the payload which triggers the job and use them in a script within the…
1
vote
1 answer

Get Git Commit ID after Git Checkout - Jenkins (Git Plugin)

I'm very new to Jenkins. I'm using this built-in plugin to do Git Checkout with my GitHub credentials, what I wanna achieve is somehow get the git commit id as a variable so that I can use that commit id on any build step of my pipeline. I searched…
Subham Manna
  • 103
  • 1
  • 12
1
vote
0 answers

Pipeline not being triggered on pull-request (github-pullrequest-builder)

I have some problems with getting GitHub Pull Request Builder to work. While configuring this plugin I used all of the given tests to check: basic connection to GitHub permissions to a repository adding comment to pull-request updating commit…
1
vote
1 answer

Jenkins Organization Folder scan doesn't detect repositories

The Jenkins Scan Organization Folder Log looks like this: Started by user Obay Abdelagdir [Thu Dec 31 16:45:21 UTC 2020] Starting organization scan... [Thu Dec 31 16:45:21 UTC 2020] Updating actions... Looking up details of…
Obay Abd-Algader
  • 1,079
  • 12
  • 25
1
vote
0 answers

Jenkins Multibranch Pipeline with Github source - Discover pull requests by target branch

I'm trying to define my Multibranch pipeline in Jenkins, with a 'Github' source. Within the 'Behaviors', I'm looking for an option to define my strategy to discover pull requests that have a specific target branch (In my case - I want to the branch…
Shizzle
  • 961
  • 3
  • 10
  • 27
1
vote
1 answer

can I pass jenkins job parameters through github plugin

I'm trying to pass parameters through github hook to Jenkins with the help of Github plugin(in Jenkins). The Jenkins job has several custom params - and I want github to trigger that job and setting those params. In Github repository/settings/hooks…
nadavgam
  • 2,014
  • 5
  • 20
  • 48
1
vote
1 answer

Git webhook does not trigger Jenkins build when pushed from remote branch

Jenkins build is not triggered by the git webhook when pushed changes from a remote repository branch I have the main git repository (upstream) and the forked git repository (origin). When I push changes to upstream/master, I expect the Jenkins…
1
vote
1 answer

Specify git commands in Jenkins Git plugin

I have written following ant target to fetch code from a GitHub repository.
miserable
  • 697
  • 1
  • 12
  • 31
1
vote
1 answer

Jenkins Crashes After Installing Github Integration Plugin

I have read over and over again on the question: Jenkins Crashes after installing GitHub Plugin, but I did not find the solution. Therefore I want to ask again. My Jenkins server was working just fine at the very first, and I wanted to add a hook…
1
vote
0 answers

Jenkins Gitlab Localhost - Failed to connect to repository : Command "git ls-remote -h

I am trying to connect Jenkins with GitLab, both are installed on the same Unix server, in Jenkins Manager System the connection is successful. But in Job when I put the URL in the Repository URL it gives an error message: "Failed to connect to…
1
vote
0 answers

string param in hudson.plugins.git.BranchSpec does not resolve

Why is it that one job doesn't resolve param used in hudson.plugins.git.BranchSpec while another does? Is BRANCH_NAME special in some way and BACKEND_BRANCH not? Good Job
Peter Kahn
  • 12,364
  • 20
  • 77
  • 135
1
vote
0 answers

Jenkins GitHub org last build status icon

I have Jenkins configured such that it scanned my entire organization and created jobs for every repo that had a PR with a Jenkinsfile. This worked fine and I'm getting the builds running. My problem is these repo icons on the left column: These…
asdoylejr
  • 664
  • 1
  • 9
  • 20