jenkinsci / jenkinsci/branch-api-plugin

[JENKINS-70485] Workspace path transformation failed

Open
#775 0 comments 0 reactions 0 assignees View on GitHub
component:branch-api-plugin imported-jira-issue priority:major resolution:unresolved
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


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

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-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


  • environment: Windows 10, multi-branch pipeline builds on agents. Jenkins 2.361.3

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.