From d5113d349a85580b40bc54800e27fb9c4adb59e5 Mon Sep 17 00:00:00 2001 From: Akram Ben Aissi Date: Fri, 7 Jun 2019 11:37:49 +0200 Subject: [PATCH 1/2] Adds documentation for JENKINS_UC_INSECURE variable --- using_images/other_images/jenkins.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/using_images/other_images/jenkins.adoc b/using_images/other_images/jenkins.adoc index 21940c1826d3..5095dc5ef265 100644 --- a/using_images/other_images/jenkins.adoc +++ b/using_images/other_images/jenkins.adoc @@ -293,6 +293,16 @@ The default maven agent pod uses `docker.io/openshift/jenkins-agent-maven-35-cen the CentOS or RHEL version of the Jenkins image. This variable must be set before Jenkins starts the first time for it to have an effect. +* `JENKINS_UC_INSECURE` ++ +Determines whether Jenkins plugins downloads are allowed if the Jenkins Update Center repository +uses an invalid SSL certificate. This could be the case if a self hosted repository +using self-signed certificate with an unknow CA is used or if an enteprise proxy +performs man-in-the-middle interceptions. This variable applies to plugins downloads which may +occur during Jenkins image build or if an extension of the Jenkins image is built or if you +run the jenkins image and leverage one of the options to download additional plugins +(use of s2i whith plugins.txt or use of `INSTALL_PLUGINS` environment variable. +To enable, set to `true`. [[jenkins-cross-project-access]] === Cross Project Access From a0e0ff8f7d3e4653eaceb07de35a02edb14ff516 Mon Sep 17 00:00:00 2001 From: Akram Ben Aissi Date: Wed, 12 Jun 2019 21:37:11 +0200 Subject: [PATCH 2/2] Fixing typo --- using_images/other_images/jenkins.adoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/using_images/other_images/jenkins.adoc b/using_images/other_images/jenkins.adoc index 5095dc5ef265..89d4b8e5c6a6 100644 --- a/using_images/other_images/jenkins.adoc +++ b/using_images/other_images/jenkins.adoc @@ -297,12 +297,12 @@ the first time for it to have an effect. + Determines whether Jenkins plugins downloads are allowed if the Jenkins Update Center repository uses an invalid SSL certificate. This could be the case if a self hosted repository -using self-signed certificate with an unknow CA is used or if an enteprise proxy -performs man-in-the-middle interceptions. This variable applies to plugins downloads which may -occur during Jenkins image build or if an extension of the Jenkins image is built or if you -run the jenkins image and leverage one of the options to download additional plugins -(use of s2i whith plugins.txt or use of `INSTALL_PLUGINS` environment variable. -To enable, set to `true`. +using self-signed certificate with an unknown CA is used or if an enteprise proxy +performs man-in-the-middle interceptions. This variable applies to plug-in downloads, which may +occur during a Jenkins image build or if an extension of the Jenkins image is built. It is +also applied when you run the Jenkins image and use one of the options to download additional +plug-ins, including S2I with plugins.txt or the INSTALL_PLUGINS environment variable. +Set to true to enable this variable. [[jenkins-cross-project-access]] === Cross Project Access