ports/178197: Improvement for Jenkins rc.d script

Mikhail Krasilnikov mk at dvaslona.ru
Sat Apr 27 15:40:01 UTC 2013


>Number:         178197
>Category:       ports
>Synopsis:       Improvement for Jenkins rc.d script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 27 15:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Mikhail Krasilnikov
>Release:        
>Organization:
DvaSlona Ltd.
>Environment:
>Description:
Some build tools use $HOME environment variable to determine path for storing settings or temp files. When starting Jenkins from root $HOME contains "/root" path. And when Jenkins executing such build tools they fail to write into "/root".


>How-To-Repeat:

>Fix:
This can be fixed by adding these lines to jenkins rc.d script before starting Jenkins:

export HOME=${jenkins_home}
cd $HOME



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list