Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
@@ -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 {
Toggle all file notes