I have a groovy script that runs as a shared library and get jenkins build details.
projects = Jenkins.instance.getJob('ABB').getItems()
for( build in projects.getAllJobs())
{
//process build data
build.getDuration();
build.getTime();
etc.
}
Can some one tell me how I can see all the get methods (all metadata related to build) that I can access by using the build variable? Is there any Javadoc for this? I am not able to find? As of now it access Duration and Time but I want to know what all info can I get.