# Canned Response: Different Environment

**URL:** <https://community.jenkins.io/t/canned-response-different-environment/7062>\
**Category:** Templates\
**Created:** [April 27, 2023, 3:09am UTC](https://community.jenkins.io/t/canned-response-different-environment/7062 "2023-04-27T03:09:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [April 27, 2023, 3:09am UTC](https://community.jenkins.io/t/canned-response-different-environment/7062/1 "2023-04-27T03:09:04Z")

</div>

Hi,

This problem sounds like a case of differences between environments. Often caused by a different user, or even a non desktop environment running your agent vs your login session.

I would recommend running a tool to export your environmental variables (`set` in windows, `export` or `printenv` in linux) in both your job and your “command prompt” to see whats different.

Often its something like `HOME` is set different. Or `PATH` has changed since its managed by jenkins agent settings. Or even a license key is missing.

Its usually a good first step.
