Sample Header Ad - 728x90

How do I run Jenkins with a specific working directory and a specific user account?

1 vote
2 answers
2312 views
I am executing below jenkins.war with below command jenkins -jar jenkins.war But I want to specify to use below path while executing the war /data/jenkins and it should run as jenkins user . Right now it is getting executed as root user and under /root directory How can I achieve that ?
Asked by Zama Ques (3376 rep)
Mar 19, 2019, 03:13 AM
Last activity: May 15, 2025, 04:01 AM