Using configure option, when we check the environment variables, we get only the variables which are available with in the folder or job. But, I want to get complete list of env variable from the root folder to the folder/job, which I want to see.

2 Answers 2


I recommend that you use the printenv command for list system Variable:


and also An easy way to obtain the Jenkins environment variables list from your local installation is to append env-vars.html to the server's URL. the URL would be



AFAIK, environment variables are not folder/directory specific, but user specific, that means, for any user its loaded when the user logins into the shell or source the profile which contains the added environment variables (like ~/.bash_profile). So, if your environment variables are present at root directory, it should be present at the folder/job level as well unless your new bash where this job is running, doesn't loads the environment variable, for which you can test them using the below commands in the job to see if those variables are present or not:

echo $PATH

if not present, you can source your profile in the job using . .bash_profile and check if all variables are present or not

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.