使用CCtray与Jenkins,同时启用安全(使用HTTPS) [英] using CCtray with Jenkins, while security enabled (using HTTPS)

查看:1119
本文介绍了使用CCtray与Jenkins,同时启用安全(使用HTTPS)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Jenkins服务器配置为仅使用HTTPS并启用安全性。
此外,我不喜欢任何人谁没有登录,看到仪表板(即使它是空的)。



到目前为止,这一切都符合我的习惯。)



但希望通过例如向远程客户端添加一些构建通知功能使用像'CCtray'我遇到麻烦。对 https://< SERVER> /cc.xml 的访问权限现在仅适用于已登录的用户。
我希望能够获得匿名的通知。



可能结合这些愿望是有矛盾的 - 我想? p>

也许有人有一个更好的想法,可以匹配我的喜好?



可以使用任何其他可以使用的通知工具






对于触发sw-builds的Mercurial钩子,我可以使用



curl --cacert< CERTIFICATE> https://< USER>:< PASSWORD> @< SERVER> / job / MyPROJECT / build?delay = 0sec



但是类似的方法在CCtray的URL似乎不工作。

解决方案

我刚刚开始使用 cctray Jenkins传输扩展。早期,但它似乎工作作为广告,并正在连接到我们的安全服务器完美愉快。



目前,唯一重要的限制似乎是,如果您的密码过期,则无法重新输入您的凭据。


I configured my Jenkins server to only use HTTPS and enabled security. As well I don't like anybody who's not logged on to see the Dashboard (even if it would be empty). Here for I disabled the 'read' access for 'anonymous'.

So far all this works exactly to my likings :)

But wanting to add some build notification functionality to remote clients by e.g. using something like 'CCtray' I run into trouble. The access to the https://<SERVER>/cc.xml now only works for logged in users. Where I would have liked to be able to get those notifications for 'anonymous'.

Probably combining these wishes is kind of contradictory - I suppose?

Maybe someone has a better idea which could match my likings?

Possibly any other notification tool which can be used???


For the Mercurial hook triggering the sw-builds I can use a construction like

curl --cacert <CERTIFICATE> https://<USER>:<PASSWORD>@<SERVER>/job/MyPROJECT/build?delay=0sec

But a similar approach for the URL in CCtray doesn't seem to work.

解决方案

I've just started using the cctray Jenkins transport extension. Early days, but it seems to work as advertised and is connecting to our secure server perfectly happily.

Currently, the only significant limitation seems to be that if your password expires there's no way to re-enter your credentials.

这篇关于使用CCtray与Jenkins,同时启用安全(使用HTTPS)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆