After upgrading to version 2.1.6 the environment variables are empty on windows (e.g. PATH) I downgraded to 2.1.3 and it was working again
Roman80 Please try updating to 2.2.1 because there were some fixes on backslashed items in windows: https://github.com/jenkinsci/envinject-plugin/releases