jenkinsci / jenkinsci/git-client-plugin

[JENKINS-30600] git isn't run inside build container

Open
#1,492 26 comments 0 reactions 0 assignees View on GitHub
component:git-client-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
152
Forks
402
Avg merge
6h 47m
Merged PRs (30d)
4

Description

Using docker-slaves, the checkout build phase is ran with commands inside the remoting container (which by change has git) not inside the configured build container.

This is due to git-client to create it's own LocalLauncher vs using the Node's one.

---
Originally reported by ndeloof, imported from: git isn't run inside build container


  • status: Open
  • priority: Major
  • component(s): git-client-plugin
  • label(s): docker-slaves
  • resolution: Unresolved
  • votes: 25
  • watchers: 39
  • imported: 20251211-071809

Raw content of original issue

Using docker-slaves, the checkout build phase is ran with commands inside the remoting container (which by change has git) not inside the configured build container.

This is due to git-client to create it's own LocalLauncher vs using the Node's one.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.