jenkinsci / jenkinsci/branch-api-plugin
[JENKINS-70485] Workspace path transformation failed
- Dominant language
- Java
- Stars
- 39
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
There is an issue during "transformation" of workspace paths:
Content of workspaces.txt:
TeqwaveMx_ISEM_SystemTest_BCQ/development
_ISEM_SystemTest_BCQ_development
TeqwaveMx_ISEM_SystemTest_BCQ/feature%2FMUWAVE-2125-system-test-for-isem-frequency-aquisition
TeqwaveMx_ISEM_SystemTest_BCQ/feature%2FMUWAVE-2125-system-test-for-isem-frequency-aquisition
TeqwaveMx_ISEM_WaterAdjust_DLL_BCQ/development
_WaterAdjust_DLL_BCQ_development
TeqwaveMx_ISEM_WaterAdjust_DLL_BCQ/feature%2FDOFLRD-437
TeqwaveMx_ISEM_WaterAdjust_DLL_BCQ/feature%2FDOFLRD-437
TeqwaveMx_ISEM_WaterAdjust_DLL_BCQ/feature%2FMUWAVE-2267-refactor-unittest
TeqwaveMx_ISEM_WaterAdjust_DLL_BCQ/feature%2FMUWAVE-2267-refactor-unittest
it looks to me that the substitution of "/" or "%2F" by underscore is not working correctly under specific circumstances. This happened only on one of our agents in a multibranch pipeline.
What actually happens in workspace folder: It creates a folder and a subfolder and then msbuild cannot find the correct path, e.g,:
TeqwaveMx_ISEM_WaterAdjust_DLL_BCQ/feature%2FDOFLRD-437
leads to:
- root folder: TeqwaveMx_ISEM_WaterAdjust_DLL_BCQ
- sub folder: feature%2FDOFLRD-437
---
Originally reported by franky, imported from: Workspace path transformation failed
Raw content of original issue
There is an issue during "transformation" of workspace paths:
Content of workspaces.txt:
TeqwaveMx_ISEM_SystemTest_BCQ/development
_ISEM_SystemTest_BCQ_development
TeqwaveMx_ISEM_SystemTest_BCQ/feature%2FMUWAVE-2125-system-test-for-isem-frequency-aquisition
TeqwaveMx_ISEM_SystemTest_BCQ/feature%2FMUWAVE-2125-system-test-for-isem-frequency-aquisition
TeqwaveMx_ISEM_WaterAdjust_DLL_BCQ/development
_WaterAdjust_DLL_BCQ_development
TeqwaveMx_ISEM_WaterAdjust_DLL_BCQ/feature%2FDOFLRD-437
TeqwaveMx_ISEM_WaterAdjust_DLL_BCQ/feature%2FDOFLRD-437
TeqwaveMx_ISEM_WaterAdjust_DLL_BCQ/feature%2FMUWAVE-2267-refactor-unittest
TeqwaveMx_ISEM_WaterAdjust_DLL_BCQ/feature%2FMUWAVE-2267-refactor-unittestit looks to me that the substitution of "/" or "%2F" by underscore is not working correctly under specific circumstances. This happened only on one of our agents in a multibranch pipeline.
What actually happens in workspace folder: It creates a folder and a subfolder and then msbuild cannot find the correct path, e.g,:
TeqwaveMx_ISEM_WaterAdjust_DLL_BCQ/feature%2FDOFLRD-437
leads to:
- root folder: TeqwaveMx_ISEM_WaterAdjust_DLL_BCQ
- sub folder: feature%2FDOFLRD-437
- environment:
Windows 10, multi-branch pipeline builds on agents. Jenkins 2.361.3
Contributor guide
Assessment
This issue has not been assessed yet.