<%@ page isELIgnored="true" %> <%@ taglib uri="cms" prefix="cms" %> Build Life Links

Build Life Links

Use Build Life Links to pass the URL of resources outside of AnthillPro to the Build Life. Once configured as a job step, the Link is available on the Reports tab for every Build Life that is associated with the job. See Add Build Life Link to Job and View Build Life Link.

For example, Build Life Links can be used to link to the different environments a project is deployed to (such as stage or production); to a third-party system that requested the build or deployment; or to detailed testing reports.

Before you begin make sure:

  • You have administrative permissions. See Manage Security.

  • A Life-Cycle Based Project is active. Build Life Links cannot be used with Operational Projects.

  • The URL of the resource to be linked to is available.

Add Build Life Links as a step to any job that generates a Build Life. Once configured, the link will be passed to every Build Life associated with the job (see View Build Life Link). This section only covers the steps necessary to adding a Build Life Link step to a job. For detailed job configuration instructions.

  1. Go to Administration, select the appropriate project, and click the Add Job icon.

  2. On the New Job Configuration page, choose No (do not use the Job Wizard). Click Select.

  3. Follow the steps for creating a build job.

  4. Add Build Life Link. Select the Insert After icon of the step prior to the point where the Build Life Link step is to be included (the step can be placed anywhere in the job). Expand the Publishers folder, select the Add Build Life Link step, and click Select.

    • Name the link.

    • Link Name. Give the name to be used in the Build Life Reports Tab.

    • Link Description. Provide the optional description.

    • URL Script. Give the script that determines the link URL. The script, using the standard AnthillPro script helpers, should return the value of the URL. (The example returns the URL for all environments the project is deployed to.) See Scripting.

    • Show Additional Options (advanced). Select the Show Additional Options link to configure more options.

      • Is Active. Select No to temporarily deactivate the step without deleting it; otherwise select Yes.

      • Continuation Condition. Select the condition which must be met for the process to continue (all steps pass; previous step passed; any step failed; always; or never).

      • Ignore Failures. Select Yes if this step should not effect the determination for step continuation or the status determination of the job.

      • PostProcessingScript. Select a script for determining when commands should count as fail or succeed. See Post Processing Scripts.

      • Timeout. Enter the time in minutes after the start of the step when AnthillPro will consider the step as timed out and abort it.

  5. Click Save.

Once the job is configured with a Build Life Link step (see Add Build Life Link to Job), the link is available under the Build Life Reports tab when the job has been run.

  1. Build the project.

  2. Go to Dashboard and select the appropriate workflow.

  3. On the workflow Main page, select the new Build Life.

  4. Select the Reports tab.

  5. Follow the link under the Published Links menu.