mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 13:32:24 +00:00
Add @Exported annotation to the executor of a Run to have more information on a running Job via the remote API
This commit is contained in:
1 parent
3ffb2f8191
commit
bc6c0be406
2 files changed
+4
No files matched your search
@@ -75,6 +75,9 @@ Upcoming changes</a>
|
||||
Added REST API for view manipulation
|
||||
<li class="rfe">
|
||||
OS X installer now has an Uninstall tool (in /Library/Application Support/Jenkins).
|
||||
<li class=rfe>
|
||||
Executor is exposed to the remote API
|
||||
(<a href="https://github.com/jenkinsci/jenkins/pull/520">pull 520</a>)
|
||||
<li class=rfe>
|
||||
Changed defaults for the Mac installer to make iOS codesigning easier.
|
||||
</ul>
|
||||
|
||||
@@ -422,6 +422,7 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
|
||||
* an executor holds on to {@lnk Run} some more time even after the build is finished (for example to
|
||||
* perform {@linkplain State#POST_PRODUCTION post-production processing}.)
|
||||
*/
|
||||
@Exported
|
||||
public Executor getExecutor() {
|
||||
for( Computer c : Jenkins.getInstance().getComputers() ) {
|
||||
for (Executor e : c.getExecutors()) {
|
||||
|
||||
Reference in new issue
Block a user