mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-26 19:15:09 +00:00
Some tests convert classpath resources to File via URL#getFile(), which returns URL-encoded paths (e.g. %20 for spaces). This can break tests (or cause them to be silently skipped) when the workspace path contains spaces. Use URL#toURI() for URL-to-File conversion in tests and assert resource existence so tests execute reliably across platforms. Signed-off-by: shbhmexe <shubhushukla586@gmail.com> Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>