Update the Agent => Master security link to point to a non-Apache redirect

This help text points to a very old redirect which is only editable in our
infrastructure Puppet code (which will at some point in the distant future be
removed).

Changing to jenkins.io/redirect means that the destination of this redirect
is easily modified by pull requests to
https://github.com/jenkins-infra/jenkins.io

See also jenkins-infra/jenkins.io#520
上级 d111e2ac
......@@ -28,7 +28,7 @@ public final class SoloFilePathFilter extends FilePathFilter {
private boolean noFalse(String op, File f, boolean b) {
if (!b)
throw new SecurityException("agent may not " + op + " " + f+"\nSee http://jenkins-ci.org/security-144 for more details");
throw new SecurityException("agent may not " + op + " " + f+"\nSee https://jenkins.io/redirect/security-144 for more details");
return true;
}
......
......@@ -60,7 +60,7 @@ public class CallableDirectionChecker extends RoleChecker {
return;
}
throw new SecurityException("Sending " + name + " from agent to master is prohibited.\nSee http://jenkins-ci.org/security-144 for more details");
throw new SecurityException("Sending " + name + " from agent to master is prohibited.\nSee https://jenkins.io/redirect/security-144 for more details");
}
/**
......
......@@ -36,7 +36,7 @@ THE SOFTWARE.
as an administrator, you can mark commands as OK for agents to execute (aka "whitelisting".)
</p>
<div class="warning" style="margin:1em">
Please see <a href="http://jenkins-ci.org/security-144">the discussion of this feature</a> to
Please see <a href="https://jenkins.io/redirect/security-144">the discussion of this feature</a> to
understand the security implication of this.
</div>
<j:if test="${it.masterKillSwitch}">
......
<div>
See <a href="http://jenkins-ci.org/security-144/">Jenkins project website</a> for discussion of this feature.
See <a href="https://jenkins.io/redirect/security-144/">Jenkins project website</a> for discussion of this feature.
We strongly recommend you enable this.
</div>
blurb=Agent to master security subsystem is currently off. \
<a href="http://jenkins-ci.org/security-144">Please read the documentation</a> and consider turning it on.
\ No newline at end of file
<a href="https://jenkins.io/redirect/security-144">Please read the documentation</a> and consider turning it on.
......@@ -22,5 +22,5 @@
Examine=
Dismiss=
# <a href="http://jenkins-ci.org/security-144">Please read the documentation</a> and consider turning it on.
<a href="http://jenkins-ci.org/security-144">Por favor leia a documenta\u00e7\u00e3o</a> e ligue novamente.
# <a href="https://jenkins.io/redirect/security-144">Please read the documentation</a> and consider turning it on.
<a href="https://jenkins.io/redirect/security-144">Por favor leia a documenta\u00e7\u00e3o</a> e ligue novamente.
......@@ -3,4 +3,4 @@
Examine=
Dismiss=\u041E\u0442\u043A\u0430\u0436\u0438
blurb=\u0421\u0438\u0441\u0442\u0435\u043C \u043E\u0431\u0435\u0437\u0431\u0435\u0436\u0438\u0432\u0430\u045A\u0430 \u0432\u0435\u0437\u043E\u043C \u0438\u0437\u043C\u0435\u0452\u0443 \u0430\u0433\u0435\u043D\u0442\u0430 \u0438 \u043C\u0430\u0441\u0442\u0435\u0440\u0430 \u0458\u0435 \u0438\u0441\u043A\u0459\u0443\u0447\u0435\u043D. \
<a href="http://jenkins-ci.org/security-144">\u041C\u043E\u043B\u0438\u043C\u043E \u0432\u0430\u0441, \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0458\u0442\u0435 \u0434\u043E\u043A\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u0458\u0443</a> \u0438 \u0443\u043A\u0459\u0443\u0447\u0438\u0442\u0435 \u0430\u043A\u043E \u0432\u0430\u043C \u0458\u0435 \u043F\u043E\u0442\u0440\u0435\u0431\u043D\u043E.
<a href="https://jenkins.io/redirect/security-144">\u041C\u043E\u043B\u0438\u043C\u043E \u0432\u0430\u0441, \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0458\u0442\u0435 \u0434\u043E\u043A\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u0458\u0443</a> \u0438 \u0443\u043A\u0459\u0443\u0447\u0438\u0442\u0435 \u0430\u043A\u043E \u0432\u0430\u043C \u0458\u0435 \u043F\u043E\u0442\u0440\u0435\u0431\u043D\u043E.
......@@ -5,7 +5,7 @@
# To whitelist other names, place *.conf files by other names into this folder.
# This file gets overwritten every time Jenkins starts.
#
# See http://jenkins-ci.org/security-144 for more details.
# See https://jenkins.io/redirect/security-144 for more details.
# maven plugin
hudson.maven.MavenBuildProxy$Filter$AsyncInvoker
......
......@@ -7,7 +7,7 @@
# before parsed, so using a lower number allows you to override what we have here. This file
# gets overwritten every time Jenkins starts.
#
# See http://jenkins-ci.org/security-144 for more details.
# See https://jenkins.io/redirect/security-144 for more details.
# This directory contains credentials, master encryption keys, and other sensitive information
# that slaves have absolutely no business with.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册