Check the jenkins rc.d startup script.  For me, on CentOS, the parms are 
being loaded from /etc/sysconfig/jenkins.

On Wednesday, April 10, 2019 at 5:27:36 PM UTC-4, kripa joy wrote:
>
> Hi
> How do you pass an environment variable to jenkins when its run as a 
> service in linux machine?
> I have my Jenkins installed in windows in which I have a file called 
> Jenkins.xml where I can pass the arguments.
> But in Linux am not able to see jenkins.xml file. or How can I pass the 
> arguments. 
>
> Thanks,
> Joy
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/696580af-3772-4916-9d0f-93d74c8288e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to