Using Git Hooks in Your Development Workflow

Introduction Git, a version control system created by Linus Torvalds, author of the Linux kernel, has become one of the most popular version control systems used globally. Certainly, this is because of its distributed nature, high performance, and reliability. In this tutorial, we’ll look at git hooks. These hooks are a feature of git which Read more about Using Git Hooks in Your Development Workflow[…]

Git Credentials Binding for sh, bat, powershell

Abstract This project implemented two new credential bindings to perform authenticated operations using command line git in Jenkins pipeline and freestyle jobs. The two credential bindings are gitSshPrivateKey and gitUsernamePassword. Implementation Type Feature Location The gitUsernamePassword binding is implemented in Jenkins git plugin v4.8.0. The gitSshPrivateKey binding is implemented in a pull request to the Read more about Git Credentials Binding for sh, bat, powershell[…]

Git username / password credentials binding

Google Summer of Code 2021 is implementing git credentials binding for sh, bat, and powershell. Git credentials binding is one of the most requested features for Jenkins Pipeline (see JENKINS-28335). The project involves extending the Credentials Binding Plugin to create custom bindings for two types of credentials essential to establish a remote connection with a Read more about Git username / password credentials binding[…]

Git Plugin Performance Improvement: Final Phase and Release

Since the beginning of the project, the core value which drove its progress was “To enhance the user experience for running Jenkins jobs by reducing the overall execution time”. To achieve this goal, we laid out a path: Compare the two existing git implementations i.e CliGitAPIImpl and JGitAPIImpl using performance benchmarking Use the results to Read more about Git Plugin Performance Improvement: Final Phase and Release[…]

Git Plugin Performance Improvement Phase-2 Progress

The second phase of the Git Plugin Performance Improvement project has been great in terms of the progress we have achieved in implementing performance improvement insights derived from the phase one JMH micro-benchmark experiments. What we’ve learned so far in this project is that a git fetch is highly correlated to the size of the Read more about Git Plugin Performance Improvement Phase-2 Progress[…]

Git Plugin Performance Improvement: Phase-1

Git Plugin Performance Improvement is a Google Summer of Code 2020 project. It aims to improve the performance of the git plugin, which provides fundamental git functionalities. Internally, the plugin provides these functionalities using two implementations: command line git and JGit (pure java implementation). CLI git is the default implementation for the plugin, a user Read more about Git Plugin Performance Improvement: Phase-1[…]