-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Windows builder
On Windows, pyenv plugin add a '\r' in env vars, by example VIRTUAL_ENV.
Parsing function for env vars 'fromEnvOutput' use '\n' as delimiter. This may keep '\r' in env var value.
We need to fix this in regex, or calling '.trim()' on returned value.
This was found because CMake "findPython" module fail to find venv python if VIRTUAL_ENV value is malformed.
Workaround: call trim right after this step like:
// Cleanning line break in VIRTUAL_ENV var withEnv(["VIRTUAL_ENV=${env.VIRTUAL_ENV.trim()}"]) { ... }