jenkinsci / jenkinsci/branch-api-plugin

[JENKINS-70320] lots of warnings on ITEM_ROOTDIR by getWorkspaceRoot

Open
#772 0 comments 0 reactions 0 assignees View on GitHub
component:branch-api-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
39
Forks
154
PR merge metrics
No merged PRs in 30d

Description

I have not much of a clue what i would need to change to get rid of this ever-repeating console log message - and i feel like i have no context what is really triggering it:

2022-12-20 12:34:10 WARNING jenkins.branch.WorkspaceLocatorImpl getWorkspaceRoot JENKINS-2111">JENKINS-2111 path sanitization ineffective when using legacy Workspace Root Directory ‘${ITEM_ROOTDIR}/workspace’; switch to ‘${JENKINS_HOME}/workspace/${ITEM_FULL_NAME}’ as in JENKINS-8446">JENKINS-8446 / JENKINS-21942">JENKINS-21942 

---
Originally reported by alexanderstohr_li, imported from: lots of warnings on ITEM_ROOTDIR by getWorkspaceRoot


  • status: Open
  • priority: Minor
  • component(s): branch-api-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251211-141027

Raw content of original issue

I have not much of a clue what i would need to change to get rid of this ever-repeating console log message - and i feel like i have no context what is really triggering it:

2022-12-20 12:34:10 WARNING jenkins.branch.WorkspaceLocatorImpl getWorkspaceRoot JENKINS-2111 path sanitization ineffective when using legacy Workspace Root Directory ‘${ITEM_ROOTDIR}/workspace’; switch to ‘${JENKINS_HOME}/workspace/${ITEM_FULL_NAME}’ as in JENKINS-8446 / JENKINS-21942 

  • environment: Jenkins 2.346.3 with a bunch of modules

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.