jenkinsci / jenkinsci/cloudbees-disk-usage-simple-plugin

Jobs disk usage doesn't work when the workspace directory is a symbolic link on Linux filesystem

Open
#193 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6
Forks
35
Avg merge
1d 14h
Merged PRs (30d)
3

Description

### Jenkins and plugins versions report

Environment


```text
Jenkins 2.573
CloudBees Disk Usage Simple 275.v56e74c9dd0d3
Safari 26.5.2
```

### What Operating System are you using (both controller, and any agents involved in the problem)?

Red Hat Enterprise Linux release 9.8 (Plow)

### Reproduction steps

1. Make sure your "workspace" directory in Jenkins home is a symbolic link to another directory or another disk;
2. Go to the Disk Usage page and try to get results.

```Bash
[root@abc jenkins]# ls -la workspace
lrwxrwxrwx. 1 root root 31 Aug 7 2025 workspace -> /data/var/lib/jenkins/workspace
```

Image

### Expected Results

Get disk usage results.

### Actual Results

Get nothing.

### Anything else?

_No response_

### Are you interested in contributing a fix?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue on the Jenkins Disk Usage page with the Jenkins workspace directory configured as a symbolic link on a Linux filesystem. Trace the disk-usage calculation from that page and verify that it returns usage results for the linked workspace instead of nothing.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, linux
Domain
backend, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.