-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Major
-
Component/s: git-plugin
-
Environment:CentOS 7
Jenkins ver. 2.107.2
I'm running a fresh installation of Jenkins on CentOS 7 behind Apache 2.4.6.
I modified my service /etc/sysconfig/jenkins to run over port 9090
Configuration of my apache to access jenkins on https:Â
<VirtualHost *:80>
ServerName jenkins.domain.nl
RewriteEngine on
ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
</VirtualHost>
<VirtualHost *:443>
ServerName jenkins.domain.nl
SSLEngine On
SSLProxyEngine on
SSLCertificateFile /etc/pki/tls/certs/domain_nl.crt
SSLCertificateChainFile /etc/pki/tls/certs/domain_nl.ca-bundle.crt
SSLCertificateKeyFile /etc/pki/tls/private/domain_nl.key
ProxyRequests Off
ProxyPreserveHost On
RewriteEngine On
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"
AllowEncodedSlashes NoDecode
ProxyPass / http://localhost:9090/ nocanon
ProxyPassReverse / http://localhost:9090/
<Proxy http://localhost:9090/*>
Order allow,deny
Allow from all
</Proxy>
</VirtualHost>
 I've installed the following plugins:Â
apache-httpcomponents-client-4-api 4.5.3-2.1 bouncycastle-api 2.16.2 command-launcher 1.2 credentials 2.1.16 display-url-api 2.2.0 git 3.8.0 git-client 2.7.1 jackson2-api 2.8.11.1 jsch 0.1.54.2 junit 1.24 mailer 1.21 matrix-project 1.13 mercurial 2.3 scm-api 2.2.7 script-security 1.44 ssh-credentials 1.13 structs 1.14 workflow-api 2.27 workflow-scm-step 2.6 workflow-step-api 2.14
Creating a new project
Item name: Project
Type: Freestyle project
When selection the Source Code Management to Git.
The following error is occured (See Screen Shot):Â
Forbidden
You don't have permission to access /job/Project/descriptorByName/hudson.plugins.git.UserRemoteConfig/checkUrl on this server.
 andÂ
Forbidden
You don't have permission to access /job/Project/descriptorByName/hudson.plugins.git.UserRemoteConfig/checkCredentialsId on this server.
Can someone help me solving this issue?
Â
Â