Skip to content

Conversation

@korlaxxalrok
Copy link
Contributor

@korlaxxalrok korlaxxalrok commented Oct 21, 2024

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)

  • NA

@korlaxxalrok korlaxxalrok requested a review from minhkhul October 21, 2024 14:44
@korlaxxalrok korlaxxalrok merged commit ca8dcdf into main Oct 21, 2024
16 checks passed
@korlaxxalrok korlaxxalrok deleted the update-jenkins-env branch October 21, 2024 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants