jenkinsci / pyenv-pipeline-plugin

Execute commands in Python virtualenvs in Jenkins Pipeline DSL
https://plugins.jenkins.io/pyenv-pipeline/
MIT License
33 stars 15 forks source link

Add tool path translation #35

Closed vctgross closed 5 years ago

vctgross commented 5 years ago

Tool paths can be specialized on each node using ToolInstallation.translate()

This allows have a common name for a tool installed at different locations on nodes running different systems ('Py36' as 'C:\Python36' on Windows and '/usr/bin/python3.6' on Linux for instance)

cstarner commented 5 years ago

Looks good to me. Upon doing a little reading, this seems to be the way that we are encourage to handle ToolInstallations. Clearly, I missed that the first time around