GithubHelp home page GithubHelp logo

elm-for-bamboo's Introduction


! Add-on was Deprecated and removed from Marketplace.

If you want to use this add-on, please build it from the sources and upload the JAR in your Bamboo instance.


Elm for Bamboo

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-test and 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.

Tasks

Elm Test Runner

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 elm and elm-test to a package.json so 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:

Sample Elm Test Runner Task

Elm Test Parser

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:

Sample Elm Test Parser Task

Elm Format Checker

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).

Sample Elm Format Task

Build

atlas-mvn package

License

This is free and unencumbered software released into the public domain. See LICENSE for more details.

elm-for-bamboo's People

Contributors

absynce avatar reinkrul avatar stil4m avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

absynce

elm-for-bamboo's Issues

Support Bamboo 6.2.1

I cannot find this in the marketplace for Bamboo 6.2.1. Please support this version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.