Open lystor opened 4 years ago
Hello VIRTUAL_ENV env variable contains trailing \r in Windows 10. Please remove \r. Thank you
node("kvpcXXXXXX") { withPythonEnv("${LOCALAPPDATA}\\Programs\\Python\\Python37\\python.exe") { echo("VIRTUAL_ENV: BEGIN|${VIRTUAL_ENV}|END") bat "set" } }
Output:
[Pipeline] echo VIRTUAL_ENV: BEGIN|d:\workspace\nikolayul_test1\.pyenv-Users-build-AppData-Local-Programs-Python-Python37-python.exe |END [Pipeline] bat (.pyenv-Users-build-AppData-Local-Programs-Python-Python37-python.exe) d:\workspace\nikolayul_test1> set ... USERPROFILE=C:\Users\build VIRTUAL_ENV=d:\workspace\nikolayul_test1\.pyenv-Users-build-AppData-Local-Programs-Python-Python37-python.exe windir=C:\Windows ...
Reported in JIRA too: https://issues.jenkins-ci.org/browse/JENKINS-62484
Ran into this too. Took way too long to figure out.
Hello VIRTUAL_ENV env variable contains trailing \r in Windows 10. Please remove \r. Thank you
Output: