If you want to use this add-on, please build it from the sources and upload the JAR in your Bamboo instance.
Add Elm support to Bamboo. This Atlassian Bamboo add-on is available on the marketplace. It is hosted via the Avisi Atlassian account, but the project is open source. If you encounter issues you can create them in this Github project or in the Avisi service desk. Pull requests are welcome.
Implemented tasks:
- Elm Test Runner Runs
elm-testand stores the output. - Elm Test Parser Parses the output from the Elm Test Runner task and integrates with the default Bamboo test results.
- Elm Format Checker Verifies if source code is conform to
elm-format.
The Elm Test Runner will run elm-test automatically. At this moment the add-on assumes that elm-test is available at ./node_modules/.bin/elm-test and elm-make is available at ./node_modules/.bin/elm-make (elm-make is required for elm-test).
To parse the results of the test runner later on in the build, a test output file should be specified.
In the future we will probably make the executables configurable. But it is always a good practice to make a Bamboo host agnostic and thus add
elmandelm-testto apackage.jsonso that these can be downloaded by the agent and versions do not collide with other project in Bamboo instance.
An example task configuration would look like:
The Elm Test Runner will collect the test results, which are stored by Elm Test Runner and add these to Bamboo.
When you configure this task, make sure that the Test Output File configuration of this task is equal to the one specified at the Elm Test Runner task.
An example task configuration would look like:
The Elm Format Checker will verify if the source code verifies the style defined by elm-format.
You can configure the path to elm-format (we do not rely on a npm module, since it is not there yet). If elm-format is not available on the Bamboo agent and you want to download anyway, maybe you are interested in using elm-format-download.
The Paths to validate with elm-format defaults to src. If you want to validate multiple paths, please use a comma separated list (src,tests).
atlas-mvn package
This is free and unencumbered software released into the public domain. See LICENSE for more details.


