Skip to content

Commit

Permalink
rpm: Add setting for specifying extra libraries directory
Browse files Browse the repository at this point in the history
  • Loading branch information
tn-osimis authored and olblak committed Nov 22, 2019
1 parent 4c70552 commit 97934a2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions rpm/build/SOURCES/jenkins.init.in
Expand Up @@ -102,6 +102,7 @@ PARAMS="--logfile=/var/log/@@ARTIFACTNAME@@/@@ARTIFACTNAME@@.log --webroot=/var/
[ -n "$JENKINS_HANDLER_STARTUP" ] && PARAMS="$PARAMS --handlerCountStartup=$JENKINS_HANDLER_STARTUP"
[ -n "$JENKINS_HANDLER_MAX" ] && PARAMS="$PARAMS --handlerCountMax=$JENKINS_HANDLER_MAX"
[ -n "$JENKINS_HANDLER_IDLE" ] && PARAMS="$PARAMS --handlerCountMaxIdle=$JENKINS_HANDLER_IDLE"
[ -n "$JENKINS_EXTRA_LIB_FOLDER" ] && PARAMS="$PARAMS --extraLibFolder=$JENKINS_EXTRA_LIB_FOLDER"
[ -n "$JENKINS_ARGS" ] && PARAMS="$PARAMS $JENKINS_ARGS"

if [ "$JENKINS_ENABLE_ACCESS_LOG" = "yes" ]; then
Expand Down
10 changes: 10 additions & 0 deletions rpm/build/SOURCES/jenkins.sysconfig.in
Expand Up @@ -151,6 +151,16 @@ JENKINS_HANDLER_MAX="100"
#
JENKINS_HANDLER_IDLE="20"

## Type: string
## Default: ""
## ServiceRestart: @@ARTIFACTNAME@@
#
# Folder for additional jar files to add to the Jetty class loader.
# See Winstone documentation for more information.
# Default is disabled.
#
JENKINS_EXTRA_LIB_FOLDER=""

## Type: string
## Default: ""
## ServiceRestart: @@ARTIFACTNAME@@
Expand Down

0 comments on commit 97934a2

Please sign in to comment.