jenkinsci/copyartifact-plugin — pull request #26 by ikedam (2013-11-30 13:42:39+00:00)
Title: [JENKINS-14999] Support for QueueItemAuthenticator

Added support for [QueueItemAuthenticator](http://javadoc.jenkins-ci.org/jenkins/security/QueueItemAuthenticator.html) which is introduced in Jenkins 1.520.
`QueueItemAutenticator` authorizes builds, and this change allows to check access to the project to copy artifacts from with that authorization.

This fixes [JENKINS-14999](https://issues.jenkins-ci.org/browse/JENKINS-14999) combinated with [Authorized Project plugin] (https://wiki.jenkins-ci.org/display/JENKINS/Authorize+Project+plugin).

Though this feature gets available only in Jenkins >= 1.520, this change does nothing bad even in Jenkins < 1.520.
I don't change the target Jenkins version as it's not good idea to upgrade target version more than is necessary.
This results the test using `QueueItemAuthenticator` cannot run, and I comment out that test for now.