<%@ page isELIgnored="true" %> <%@ taglib uri="cms" prefix="cms" %> Dev-kit

Dev-kit

The Dev-kit provides comprehensive documentation on AnthillPro scripting, including the full API and the AnthillPro script library; remoting, which provides full access to the AnthillPro object model; using SOAP-based web services with AnthillPro; as well as instruction on creating your own Plugin for AnthillPro.

To view the Dev-kit, follow the tools link in the upper right corner of the UI and download the Development Kit Bundle.

Scripting

The scripts in AnthillPro are written in BeanShell, which is a JSR-approved Java scripting language. Other scripting languages are also supported for select activities. The Scripting section of the Developer Tools provides a basic introduction to scripting and AnthillPro.

Urbancode also maintains a public Script Database that includes sample scripts for custom reports, steps, reusable snippets, and more.

Detailed instruction, available at Tools > Development Kit Bundle > scripting, includes documentation on the AnthillPro:

  • Script Library. Use the script library to create, organize, and provide security around often-used AnthillPro scripts. The Script Library is most helpful for large organizations, allowing them to ensure that only the appropriate team members can modify a script.

Remoting

Remote scripting provides full access to the AnthillPro object model via a remote interface. This provides access to all of the administration features of AnthillPro, as well as the information that is available via the Dashboard. Of course, security (authentication and authorization) are fully enforced when using the remote scripting API.

Detailed documentation is available at Tools > Development Kit Bundle > remoting.

Integrating Using SOAP

Anthill Pro provides a SOAP-based, web services facade to enable third-party and user-created applications to cleanly integrate. The SOAP interface, available at launch, will provide a number of lookup utilities to provide information on system state, project progress, and current activity. Also, as standard build and deploy web services vocabularies evolve in the Eclipse Application Life-Cycle Framework project, this SOAP interface will provide whatever functionality is specified.

Detailed documentation is available at Tools > Development Kit Bundle > soap.

Developing Plugins

You can write your own integration with third-party tools (such as testing, SCM, source-code analytic, etc., tools) and then add them to your AnthillPro workflows.

For an introduction to the Plugin system, see also Using AnthillPro Plugins.

Detailed documentation is available at Tools > Development Kit Bundle > plugin.

AHPTool

AHPTool is a command-line interface for AnthillPro that provides communication between agent-side commands, scripting and the AnthillPro central server. AHPTool is focused on setting and retrieving information from the AnthillPro server in the context of a running workflow: It can be used to look up or set properties at the system, step, request, job, Build Life and agent levels. AHPTool can upload and retrieve Test, Coverage, Analytics, or Issue data in the form of an XML document to AnthillPro -- making it an excellent integration point for writing your own Plugin or script.

Detailed documentation is available at Tools > Development Kit Bundle > ahptool.

AnthillPro API

The API is available under the server installation through the web UI. The majority of the API is available at the tools page, including a copy of the AnthillPro API documentation (JavaDoc). The objects in the API strongly reflect what is seen in the user interface.

In addition, AnthillPro also has a REST API that allows you to access AnthillPro's web services as resources, via their URLs, using standard HTTP protocol. The responses to most of the GET methods (except property values, which are simple text) are in XML, and may be consumed by any application, etc., that is able to consume XML files.

Detailed documentation is available at the Tools page.