git-plugin
git-plugin copied to clipboard
Git repository access for Jenkins jobs
### Testing done ### Submitter checklist - [ ] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch! - [ ] Ensure that...
in current state `CloneOptionTrait` ignored, this PR allow set depth when you need find branch ### Testing done cheked locally in pipeline with ```groovy resolveScm([ ignoreErrors: false, source : gitSource(...
### Context Using "Check out to a sub-directory" (RelativeTargetDirectory) in Pipeline jobs is confusing because Jenkins expects the `Jenkinsfile` in the workspace root, but this extension moves it to a...
When doing large (4,7GB) repository clone on the controller side we get the exception visible on the code pane. The clone on the controller side is needed for the Pipeline...
Might be related to JENKINS-67600, but feels different enough to call it out in a separate ticket. Currently when you try to checkout a repository from github with a GitHub...
If a file contains a '#' in it the hyperlink generated to the file in the changes view is not correct. The generated hyperlink is: https://github.com/PROJECT/REPO/blob/c1c9643ce9303e7f3eb10eefdf761a9344e5d7e1/my#file.txt It should be: https://github.com/PROJECT/REPO/blob/c1c9643ce9303e7f3eb10eefdf761a9344e5d7e1/my%23file.txt...
I'm trying to use checkout gitSCM (some arguments here) I see that one example, given at https://www.jenkins.io/doc/pipeline/steps/params/scmgit/ is checkout scmGit(userRemoteConfigs: [ [ url: 'https://github.com/jenkinsci/git-plugin' ] ]) Higher up in the...
Overview: We have Jenkins Pipeline Job where it uses different Agents for consecutive Stages; The job is configured to use `Pipeline script from SCM` and uses `master` as a branch....
GitLab starting from 16.0 version does not have non-expiry access token. The original non-expiry token had become expired after one year. We recently updated the access token stored in the...
In the Jenkin's documentation for setting up a Freestyle job there is a recommendation: In the Advanced settings, set Name to origin and Refspec to +refs/heads/:refs/remotes/origin/ +refs/merge-requests//head:refs/remotes/origin/merge-requests/ https://plugins.jenkins.io/gitlab-plugin/#plugin-content-git-configuration However setting...