jenkinsci / jenkinsci/workflow-aggregator-plugin

[JENKINS-65244] Lightweight checkout of Jenkinsfile does not work

Open
#1,237 2 comments 0 reactions 0 assignees View on GitHub
component:pipeline imported-jira-issue priority:major resolution:unresolved
Dominant language
No language data
Stars
225
Forks
125
PR merge metrics
No merged PRs in 30d

Description

I created a pipeline job and configured it to use a Jenkinsfile from a Git repository using Lightweight Checkout.

The branch to use is specified as "ref/heads/master" so there is no message "Lightweight checkout support not available" in the console output. (I had that case before.)

Still the whole repository gets cloned into the workspace.

---
Originally reported by wolterhis, imported from: Lightweight checkout of Jenkinsfile does not work


  • status: Open
  • priority: Major
  • component(s): pipeline
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 2025-12-08

Raw content of original issue

I created a pipeline job and configured it to use a Jenkinsfile from a Git repository using Lightweight Checkout.
The branch to use is specified as "ref/heads/master" so there is no message "Lightweight checkout support not available" in the console output. (I had that case before.)
Still the whole repository gets cloned into the workspace.

  • environment: Jenkins 2.285

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.