Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Half Stack Python documentation
Logo
Half Stack Python documentation

Contents:

  • 01/14/2025 - Bash Special Variables
  • 01/07/2025 - Using UV for Python Package Management
  • 11/11/2024 - RST Reference
  • 11/11/2024 - Vim Motions Notes
  • 11/11/2024 - rm command too long
  • 11/07/2024 - Jenkins agent path variables
  • 11/05/2024 - Generic package caching with bazel remote cache
  • 10/31/2024 - Generic npm packageing
  • 10/17/2024 - PYTHONPATH Tricks
  • 6/22/2024 - Useful Bash Commands
  • 6/21/2024 - Jenkins automation in Python
  • 5/11/2024 - Most used bash aliases for linux dev
  • 2/14/2024 - Threading guide
  • 12/12/2023 - Modifying a deepcopy of os.environ changes the lookup from the shell, but not the os.environ state
Back to top
View this page

Jenkins Troubleshooting Tips Related to Path Errors¶

Agent paths for a user are derived seperately from the linux user path¶

So being ssh’d into a machine and running echo $PATH is not the true output

Instead, run the following from the node side script console in the Jenkins web gui

println System.getenv("PATH")

These variables are cached, to get to reload you may have to disconnect the node and relaunch it

Update java version¶

sudo update-alternatives --config java

The above will set the java variables accordingly

Next
Example using bazel-remote-cache to host packages
Previous
Easy reference for find commands I come back to
Copyright © 2024, CS
Made with Furo
On this page
  • Jenkins Troubleshooting Tips Related to Path Errors
    • Agent paths for a user are derived seperately from the linux user path
    • Update java version