Running Fixinator on CircleCI - foundeo/fixinator GitHub Wiki

You can setup CircleCI to automatically run a fixinator scan every time you commit code to your GitHub or Bitbucket repository.

Create a .circleci/config.yml File

In the root of your repository create a directory .circleci and a file config.yml with the following contents:

version: 2 
jobs:
  build:
    docker: 
      - image: circleci/openjdk:11-jdk-stretch 
    steps:      
      - checkout
      - run: curl --location -o /tmp/box.zip https://www.ortussolutions.com/parent/download/commandbox/type/bin
      - run: unzip /tmp/box.zip -d /tmp/
      - run: chmod a+x /tmp/box
      - run: /tmp/box install fixinator
      - run: mkdir /tmp/results
      - run: /tmp/box fixinator path=. confidence=high resultFormat=junit resultFile=/tmp/results/fixinator-results.xml
      
      - store_test_results: 
          path: /tmp/results/


      - store_artifacts: # optional uploads the result file
          path: /tmp/results/

Note that fixinator is creating a report file in JUnit format which Circle CI can then pick up and format in its results.