-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
2.164.2, 2.169 on linux, others not checked
A folder named "parent" in the workspace is not browseable for a pipeline job.
Impact: "parent" is an often used folder name in Maven projects.
Example pipeline:
node { deleteDir() sh ("mkdir -p parent/foo") sh ("mkdir -p bar/parent") sh ("mkdir parent-foo") }
Note: deleteDir() is only needed to re-run the job. It is not needed for the behaviour to appear.
This will create a workspace with the following folders:
Works as expected (i.e. shows the folder):
- click on a job execution
- click on workspaces
- click on the listed workspace
- click on folder bar - shows contents
- click on folder bar/parent - shows contents
- click on folder parent-foo - shows contents
Does not work as expected:
- click on a job execution
- click on workspaces
- click on the listed workspace
Workarounds
- use subfolder for project (i.e. project-name/parent)
- rename "parent"