Lil*_*mas 4 jenkins gitlab server
我无法将 Jenkins 连接到我的 Gitlab。我收到以下错误消息:
客户端错误:发现 HTTP 302
我在我的 Gitlab 中创建了一个令牌并将它们放入凭据中。我不知道为什么会发生。我的服务 Jenkins 在端口 8080 中运行,并且我为反向代理设置了我的服务器。
ProxyPass /jenkins http://localhost:8080/jenkins nocanon
ProxyPassReverse /jenkins http://localhost:8080/jenkins
ProxyRequests Off
AllowEncodedSlashes NoDecode
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443""
# Local reverse proxy authorization override
# Most unix distribution deny proxy by default (ie /etc/apache2/mods-en$
<Proxy http://localhost:8080/jenkins*>
Order deny,allow
Allow from all
</Proxy>
Run Code Online (Sandbox Code Playgroud)
我需要帮助,以解决错误。
GitLab 主机 URL,在配置 Jenkins 服务器时应仅为https://gitlab.com。
如“在 jenkins 中配置 gitlab 时 Gitlab 主机 URL 意味着什么? ”中所述,它代表 GitLab API 端点,不带 api/v4.
| 归档时间: |
|
| 查看次数: |
3030 次 |
| 最近记录: |