git-plugin
git-plugin copied to clipboard
Git repository access for Jenkins jobs
I use pipline checkout([ $class: 'GitSCM', userRemoteConfigs: [[url: env.GIT_PATH, credentialsId: 'loongle' ]], branches: [[name: 'main']], doGenerateSubmoduleConfigurations: false, extensions: [[ $class: 'SubmoduleOption', disableSubmodules: false, parentCredentials: true, recursiveSubmodules: true, reference: '', trackingSubmodules:...
In my scripted multibranch pipeline (using GitLab branch source) I use something like node(label: 'builder') { checkout scm ... } node(label: 'test') { dir('src') { checkout scm } ... }...
In the job we are using parameter called BRANCH_NAME which is passed onto the plugin to clone and build the branch. Everything works fine, up to point that there is...
The v4.12.1 git plugin breaks when doing "git lfs install" during a Jenkins job. The attached image shows the error. It also breaks the command on the machine in the...
I have seen this issue described in a ticket from 2019 where it was seen as "not reproduceable". The problem is that if a link to a subrepository in git...
I am trying to set up refspecs for a project according to this guide, and they specify two glob refspecs to be used: +refs/heads/*:refs/remotes/origin/* +refs/merge-requests/*/head:refs/remotes/origin/merge-requests/* However, I just get a...
When using Pipeline Multibranch with a Pipeline script that checkout the branch scm and also a different branch of the same repo later on, the next build changelog contains all...
I'm experiencing a weird issue with GitHub Plugin when using the GitHub hook trigger for GITScm polling functionality. Specifically, I have a job which is supposed to run on each...
I have several jobs that specify Strategy for choosing what to build / Ancestry / Maximum Age of Commit. This is to prevent old heads unnecessarily building or dangerously deploying....
Jenkins fails to submodule update --init --recursive with Bitbucket For example, we have submodule: [submodule "thirdparty/poco"] path = thirdparty/poco url = https://bitbucket.web.domain.ru/scm/~user/poco.git Try to clone repo: ``` Running as SYSTEM...