Questions tagged [jenkins-github-plugin]

54 questions
0
votes
1 answer

Secret Detection Jenkins

I have my pipeline on jenkins and source code mangement is on gitlab. Can I trigger the secret detection on the gitlab from Jenkins, since the pipeline is on jenkins and secret detection is enabled for gitlab pipelines? And how could it be done?
0
votes
1 answer

Issue with Jenkin integration with github private repo for auto SCM polling

i have github + jenkin setup(for pipelining) which is working fine for public repos but as soon as i make my repo private, auto polling of my SCM breaks( basically after github webhook POST message back to jenkin to start the pipeline). In Github…
0
votes
0 answers

Random 128 during git fetch --tags

Starting around a month ago? We started seeing random exit code 128 erros from git when fetching tags during checkout. We have tried clearing out known_hosts and adding the new fingerprints as that was the most obvious culprit, but she persists.…
Novaterata
  • 4,356
  • 3
  • 29
  • 51
0
votes
0 answers

Parameterized Jenkins Jobs Conflict with WebHooks

I have a parameterized Jenkins job that has 1 parameter that accepts webooks to kick off builds. I use the parameter in the branch specifier and it works except for one use case. The parameter is called a, the branch specifier in the job…
0
votes
0 answers

Error: Error cloning remote repo 'origin`

I'm facing the same issue as mentioned here ERROR: Error cloning remote repo 'origin' I'm getting this issue when it is triggered as a downstream job (triggered from another job / Upstream). I'm still be able to make it work by rebuilding the build…
0
votes
0 answers

Self signed certificate in keystore not working

I am runnig a Gitlab and a Jenkins server as Docker Containers. I am trying to add my Gitlab server to my Jenkins server using the Gitlab Plugin. I've created a self signed certificate for Gitlab and added it to the java keystore in Jenkins with…
klukama
  • 25
  • 8
0
votes
2 answers

Unable to get the payload from GitHub web hook trigger in jenkins pipeline

I have configured a Github web hook with the below settings: Payload URL: https:///github-webhook/ Content Type: application/x-www-form-urlencoded Events : Pushes, Pull Requests The Jenkins job that I have, is a pipeline job that has the below…
0
votes
1 answer

Where can i get / generate git project's credentialsId to be used in jenkins?

I am trying to checkout my code base using jenkins pipeline. To do that i need 'credentialsId' for authentication purpose. stage('Checkout my codebase') { steps { dir('terraform_src') { git( branch:…
Nandha
  • 752
  • 1
  • 12
  • 37
0
votes
1 answer

Failed to connect to repository Jenkins setup version 2.249.1

Installed Jenkins and git on windows machine. when trying to set URL under source code management following error shown: PATH enviornment variable C:\Users\user\AppData\Local\Programs\Git\bin Jenkins->ManageJenkins->global tool configuration-> git…
0
votes
1 answer

Jenkins BlueOcean stuck at "Pipeline Creation Pending."

My pipeline creation is stuck at pending stage on Jenkins server. Nothing shows up on dashboard even after an hour. Tried multiple times but no luck. When I try from my local Jenkins, it easily creates the pipeline for the same Git repository.
0
votes
0 answers

How to pass Jenkins Pipeline Parameters via GitHub?

I have Jenkins Jobs with a lot of parameters that varies depending on environment**(DEV, PRE-PROD, PROD)**. Can I pass parameters by storing them in GitHub? For example, if I select DEV and start build, pipeline should go and fetch parameters from…
0
votes
1 answer

Unable to logon to Github using Jenkins pipeline

I want to clone a github repository using Jenkins decriptive pipeline. I use the following code : pipeline { agent any stages { stage('Checkout') { steps { script { // The below will clone your repo and will be…
0
votes
1 answer

Calculate changelog against a commit in jenkins using git-plugin

I am using Jenkins Git-Plugin to checkout in my CI pipeline. I want to generate changelog between the COMMIT and a predefined REF_COMMIT. Is there a way to achieve this using changelog-extensions? I can see there is option to calculate change log…
0
votes
1 answer

Using a Jenkins Pipeline copy a folder from an old branch into branch being used by SCM

I am very new to pipelines, first to try for my company so please excuse if this question is a little off. I have a Git Branch we will call "2020Release38" which is the central branch all engineers check into. I need to copy a folder from an old…
0
votes
1 answer

pull github committed code auto to server using jenkins

I have just started using jenkins. i have setup jenkins on my server and created item which intimate when someone commit changes on github . but the problem is its only showing me the changes commit. but not pulling changes to my code on server auto…
Coder
  • 184
  • 15