Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Apr 2013 15:35:23 GMT
From:      Mikhail Krasilnikov <mk@dvaslona.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/178197: Improvement for Jenkins rc.d script
Message-ID:  <201304271535.r3RFZN6m053451@red.freebsd.org>
Resent-Message-ID: <201304271540.r3RFe0Y8003186@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304271535.r3RFZN6m053451>