Skip to content
Permalink
Browse files

[FIXED JENKINS-16956] Noting merge of #1172.

  • Loading branch information
jglick committed Apr 12, 2014
1 parent 26ec7bd commit 7f76a93dd947cb0180a36d2ce54b1e3c2ddaf3bc
@@ -55,6 +55,12 @@
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
<li class='major rfe'>
Enforcing build trigger authentication at runtime by checking authentication associated with a build, rather than at configuration time.
For compatibility, enforcement is skipped by default; you must install the Authorize Project plugin or similar for this to take effect.
The “upstream pseudo trigger” was also removed in favor of a true trigger configured on the downstream project;
you may use either the post-build action or the trigger according to where you want this configuration stored, and who is authorized to change it.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-16956">issue 16956</a>)
<li class=bug>
Fixed NPE from view new job name autocompletion since 1.553.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-22142">issue 22142</a>)
@@ -116,7 +116,7 @@ public static Authentication getDefaultAuthenticationOf(Task t) {
* in case some {@link QueueItemAuthenticator#authenticate(hudson.model.Queue.Item)} takes (for example) actions into consideration.
* @param t a task
* @return an authentication as specified by some {@link QueueItemAuthenticator#authenticate(hudson.model.Queue.Task)}; else {@link #getDefaultAuthenticationOf}
* @since TODO
* @since 1.560
*/
public static @Nonnull Authentication getAuthenticationOf(@Nonnull Task t) {
for (QueueItemAuthenticator qia : QueueItemAuthenticatorConfiguration.get().getAuthenticators()) {
@@ -55,7 +55,7 @@
* returning non-null will determine the identity. If null is returned, the next
* configured {@link QueueItemAuthenticator} will be given a chance to authenticate
* the executor. If everything fails, fall back to {@link Task#getDefaultAuthentication()}.
* @since TODO
* @since 1.560
*/
public @CheckForNull Authentication authenticate(Queue.Task task) {
if (Util.isOverridden(QueueItemAuthenticator.class, getClass(), "authenticate", Queue.Item.class)) {
@@ -77,6 +77,7 @@
* so run implicitly at the end of the upstream build,
* when used on a pair of {@link AbstractProject}s.
* Otherwise directly listens for the upstream build to complete.
* @since 1.560
*/
@SuppressWarnings("rawtypes")
public final class ReverseBuildTrigger extends Trigger<Job> implements DependencyDeclarer {

0 comments on commit 7f76a93

Please sign in to comment.