cmu-delphi / covidcast-indicators

Back end for producing indicators and loading them into the COVIDcast API.
https://cmu-delphi.github.io/delphi-epidata/api/covidcast.html
MIT License
12 stars 17 forks source link

Update path for pyenv shims #2067

Closed korlaxxalrok closed 1 month ago

korlaxxalrok commented 1 month ago

Description

Adds a small bit to the Jenkinsfile to modify the path variable that is available to Jenkins when it runs.

In this new Jenkins instance we are using pyenv to set up the Python version and environment. Typically this would be made availabe to the Jenkins shell environment by sourcing a small bit of code from one of .bash_profile or .bashrc., but Jenkins does not run interactive shell sessions so these aren't sourced.

In order to allow Jenkins to run binaries from the pyenv shims directory we need to add it to the path. We can do that with Jenkins' environment directive.

Changelog

Itemize code/test/documentation changes and files added/removed. Updates the Jenkinsfile.

Associated Issue(s)