/etc/sysconfig/jenkins does not exist

2,563 views
Skip to first unread message

ozca...@gmail.com

unread,
Jul 8, 2015, 3:01:35 AM7/8/15
to jenkins...@googlegroups.com
Hi

I want to modify JENKINS_JAVA_OPTIONS like this 

JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true -Dmail.smtp.starttls.enable=true"
But I don't know which file to change. Everyone say go to  /etc/sysconfig/jenkins but it does not exist in my system. What should I do?

Regards,
Ozcan

Daniel Beck

unread,
Jul 8, 2015, 3:04:14 AM7/8/15
to jenkins...@googlegroups.com
Is it /etc/default/jenkins? If not, how did you install Jenkins, what's your OS?
> --
> 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-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f2451476-1707-4e16-8b5b-97c882ff31b3%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

ozca...@gmail.com

unread,
Jul 8, 2015, 3:08:56 AM7/8/15
to jenkins...@googlegroups.com, m...@beckweb.net
Hi,

I am using osx. I downloaded the .pkg file and installed it. I only have Jenkins folder at Users/Shared/Jenkins and there are 3 folders there .subversion, Home, tmp.

Daniel Beck

unread,
Jul 8, 2015, 3:30:44 AM7/8/15
to jenkins...@googlegroups.com
It looks like you need to edit /Library/Application Support/Jenkins/jenkins-runner.sh.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/10238297-2843-4400-8013-d85ef50740b2%40googlegroups.com.

ozca...@gmail.com

unread,
Jul 8, 2015, 4:56:36 AM7/8/15
to jenkins...@googlegroups.com, m...@beckweb.net
You were right! Thanks :)
Reply all
Reply to author
Forward
0 new messages