...
Identify critical builds | Focus on the most critical builds that need timely attention. There are multiple ways to specify what build plans should be included in the report.
| |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Choose columns to report | Select the minimum columns needed. getBuildReportList already minimizes the columns reported. In this example, we want a very targeted report, we remove the first 3 columns.
| |||||||||
Choose a date format | Specify a date format that best matches specific needs. We use a very concise to minimize line length.
| |||||||||
Modify data | Format the data for the report. In this example, we are going to report as a text table, without wrapping, and with modified test result headings to minimize line length. A text table looks best in Slack.
| |||||||||
Send to Slack | Assumes you already have a slack token, acli configured to use the token, and access granted to allow the CLI to send to your channel - see Access Tokens. We are using markdown code format to get fixed width lines with active links to click on the url to get to the build quickly.
| |||||||||
Full example | We use a Bamboo plan with a script task. This assumes acli is on the path and configured appropriately to access the servers needed. This example uses linux style escaping. We use the CLI temp file for automatically handling of file output
| |||||||||
Results |
|
...