Package hudson.plugins.gearman
Class GearmanPluginUtil
java.lang.Object
hudson.plugins.gearman.GearmanPluginUtil
This class contains some useful utilities for this plugin
- Author:
- Khai Do
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Run<?,?> Function to finds the build with the unique build id.static StringgetRealName(Computer computer) static voidsetBuildDescription(Run build, String description) Sets description of the build
- 
Constructor Details- 
GearmanPluginUtilpublic GearmanPluginUtil()
 
- 
- 
Method Details- 
getRealName
- 
findBuildFunction to finds the build with the unique build id.- Parameters:
- jobName- The jenkins job or project name without folder name
- buildNumber- The jenkins build number
- Returns:
- the build Run if found, otherwise return null
 
- 
setBuildDescriptionSets description of the build- Parameters:
- build- Build to set the description of
- description- New build description
- Throws:
- IOException
 
 
-