org.jenkinsci.plugins.mesos.listener
Class MesosRunListener

java.lang.Object
  extended by hudson.model.listeners.RunListener<hudson.model.Run>
      extended by org.jenkinsci.plugins.mesos.listener.MesosRunListener
All Implemented Interfaces:
hudson.ExtensionPoint

@Extension
public class MesosRunListener
extends hudson.model.listeners.RunListener<hudson.model.Run>


Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.model.listeners.RunListener
LISTENERS, targetType
 
Constructor Summary
MesosRunListener()
           
MesosRunListener(Class targetType)
           
 
Method Summary
 void onStarted(hudson.model.Run r, hudson.model.TaskListener listener)
          Prints the actual Hostname where Mesos slave is provisioned in console output.
 
Methods inherited from class hudson.model.listeners.RunListener
all, fireCompleted, fireDeleted, fireFinalized, fireStarted, onCompleted, onDeleted, onFinalized, register, setUpEnvironment, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MesosRunListener

public MesosRunListener()

MesosRunListener

public MesosRunListener(Class targetType)
Parameters:
targetType -
Method Detail

onStarted

public void onStarted(hudson.model.Run r,
                      hudson.model.TaskListener listener)
Prints the actual Hostname where Mesos slave is provisioned in console output. This would help us debug/take action if build fails in that slave.

Overrides:
onStarted in class hudson.model.listeners.RunListener<hudson.model.Run>


Copyright © 2004-2014. All Rights Reserved.