## Path:        Development/CloudBeesCoreOC
## Description: CloudBees Core traditional - Operations Center
## Type:        string
## Default:     "/var/lib/cloudbees-core-oc"
## ServiceRestart: jenkins
#
# Directory where Jenkins store its configuration and working
# files (checkouts, build reports, artifacts, ...).
#
JENKINS_HOME="/var/lib/cloudbees-core-oc"

## Type:        string
## Default:     ""
## ServiceRestart: cloudbees-core-oc
#
# Java executable to run Jenkins
# When left empty, we'll try to find the suitable Java.
#
JENKINS_JAVA_CMD=""

## Type:        string
## Default:     "cloudbees-core-oc"
## ServiceRestart: cloudbees-core-oc
#
# Unix user account that runs the Jenkins daemon
# Be careful when you change this, as you need to update
# file ownership of :
# * $JENKINS_HOME
# * /var/log/cloudbees-core-oc
# * /var/cache/cloudbees-core-oc
# * /etc/sysconfig/cloudbees-core-oc
# * /usr/bin/cloudbees-core-oc
# It can be done using the following command
# sudo chown -R $JENKINS_USER:$JENKINS_USER $JENKINS_HOME /var/log/cloudbees-core-oc /var/cache/cloudbees-core-oc /etc/sysconfig/cloudbees-core-oc /usr/bin/cloudbees-core-oc
#########
# With systemd, you need to update the systemd configuration
# systemctl edit cloudbees-core-oc
# [Service]
# User=cloudbees-core-oc
#
JENKINS_USER="cloudbees-core-oc"

## Type:        string
## Default: "false"
## ServiceRestart: jenkins
#
# Whether to skip potentially long-running chown at the
# $JENKINS_HOME location. Do not enable this, "true", unless
# you know what you're doing. See JENKINS-23273.
#
#JENKINS_INSTALL_SKIP_CHOWN="false"

## Type: string or array
## Default:     "-Djava.awt.headless=true"
## ServiceRestart: cloudbees-core-oc
#
# Options to pass to java when running Jenkins.
#
JENKINS_JAVA_OPTIONS="-Djava.awt.headless=true"
# Alternatively, can be specified as an array to handle arguments with spaces
# JENKINS_JAVA_OPTIONS=(-Djava.awt.headless=true)
# JENKINS_JAVA_OPTIONS+=("-Dhudson.model.DirectoryBrowserSupport.CSP=sandbox allow-same-origin allow-scripts;style-src 'unsafe-inline' _;script-src 'unsafe-inline' _;")

## Type:        integer(0:65535)
## Default:     8888
## ServiceRestart: jenkins
#
# Port Jenkins is listening on.
# Set to -1 to disable
#
JENKINS_PORT="8888"

## Type:        string
## Default:     ""
## ServiceRestart: cloudbees-core-oc
#
# IP address Jenkins listens on for HTTP requests.
# Default is all interfaces (0.0.0.0).
#
JENKINS_LISTEN_ADDRESS=""

## Type:        integer(0:65535)
## Default:     ""
## ServiceRestart: cloudbees-core-oc
#
# HTTPS port Jenkins is listening on.
# Default is disabled.
#
JENKINS_HTTPS_PORT=""

## Type:        string
## Default:     ""
## ServiceRestart: cloudbees-core-oc
#
# Path to the keystore in JKS format (as created by the JDK 'keytool').
# Default is disabled.
#
JENKINS_HTTPS_KEYSTORE=""

## Type:        string
## Default:     ""
## ServiceRestart: cloudbees-core-oc
#
# Password to access the keystore defined in JENKINS_HTTPS_KEYSTORE.
# Default is disabled.
#
JENKINS_HTTPS_KEYSTORE_PASSWORD=""

## Type:        string
## Default:     ""
## ServiceRestart: cloudbees-core-oc
#
# IP address Jenkins listens on for HTTPS requests.
# Default is disabled.
#
JENKINS_HTTPS_LISTEN_ADDRESS=""


## Type:        integer(1:9)
## Default:     5
## ServiceRestart: cloudbees-core-oc
#
# Debug level for logs -- the higher the value, the more verbose.
# 5 is INFO.
#
JENKINS_DEBUG_LEVEL="5"

## Type:        yesno
## Default:     no
## ServiceRestart: cloudbees-core-oc
#
# Whether to enable access logging or not.
#
JENKINS_ENABLE_ACCESS_LOG="no"

## Type:        string
## Default:     ""
## ServiceRestart: cloudbees-core-oc
#
# Pass arbitrary arguments to Jenkins.
# Full option list: java -jar cloudbees-core-oc.war --help
#
JENKINS_ARGS=""
