system/jenkins: Update examples configs.

jenkins 2.361 removed support for using pem certs.

https://github.com/jenkinsci/winstone/pull/232

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2022-09-25 19:33:27 +09:00 committed by Willy Sudiarto Raharjo
parent fa6f3ca0c1
commit 06a8337780
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 1 additions and 17 deletions

View file

@ -52,12 +52,6 @@ JENKINS_USER="jenkins"
## the SSL KeyManagerFactory type (eg SunX509, IbmX509). Default is SunX509
#JENKINS_HTTPS_KEY_MANAGER="SunX509"
## this along with JENKINS_HTTPS_CERTIFICATE can be used to run HTTPS with
## OpenSSL secret key file and the corresponding certificate file
#JENKINS_HTTPS_PRIVATE_KEY=""
#JENKINS_HTTPS_CERTIFICATE=""
## Default home of jenkins stuffs
#JENKINS_HOME=/var/lib/jenkins

View file

@ -79,14 +79,6 @@ if [ "$JENKINS_HTTPS_KEY_MANAGER" != "" ] ; then
JENKINS_HTTPS_KEY_MANAGER_ARG="--httpsKeyManagerType=$JENKINS_HTTPS_KEY_MANAGER"
fi
if [ "$JENKINS_HTTPS_PRIVATE_KEY" != "" ] ; then
JENKINS_HTTPS_PRIVATE_KEY="--httpsPrivateKey=$JENKINS_HTTPS_PRIVATE_KEY"
fi
if [ "$JENKINS_HTTPS_CERTIFICATE" != "" ] ; then
JENKINS_HTTPS_CERTIFICATE="--httpsCertificate=$JENKINS_HTTPS_CERTIFICATE"
fi
if [ "$JENKINS_LOG_FILE" != "" ] ; then
JENKINS_LOG_FILE_ARG="--logfile=$JENKINS_LOG_FILE"
fi
@ -114,8 +106,6 @@ su - $JENKINS_USER -c " \
$JENKINS_HTTPS_KEYSTORE_ARG \
$JENKINS_HTTPS_KEYSTORE_PASSWORD_ARG \
$JENKINS_HTTPS_KEY_MANAGER_ARG \
$JENKINS_HTTPS_PRIVATE_KEY \
$JENKINS_HTTPS_CERTIFICATE \
$JENKINS_LOG_FILE_ARG \
$JENKINS_WEBAPPSDIR_ARG \
$JENKINS_WEBROOT_ARG \

View file

@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jenkins
VERSION=${VERSION:-2.361.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}