Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is JENKINS_HOME in windows?

I'm using jenkins.war file. I'm trying to test an groovy email template. This gives me below error

Groovy Template file [groovy1-html.template] was not found in $JENKINS_HOME/email-templates.

Unfortunately i'm not able to find $JENKINS_HOME. Is it somewhere C:\Users\<user.name>\.jenkins ?

like image 225
NarendraR Avatar asked Dec 23 '22 00:12

NarendraR


1 Answers

If you happen to be the admin of this Jenkins instance, then login to the instance and go to System information under manage Jenkins.

The URL should look something like this: https://your.jenkins.domain/systemInfo

Under this, Environment Variable should list your JENKINS_HOME.

This is how it looks like >> enter image description here

like image 63
Vighnesh Pai Avatar answered Jan 09 '23 01:01

Vighnesh Pai