-
Notifications
You must be signed in to change notification settings - Fork 11
Running Fixinator on GitLab
Pete Freitag edited this page Mar 11, 2019
·
9 revisions
- Go to your project page in GitLab
- Go to Settings and click on CI / CD then click Expand on Environment Variables. Add your
FIXINATOR_API_KEY
value and turn on Protected (this prevents the key from being logged in the output). You can get an API key here. - Click the Set up CI/CD button (this is really just a shortcut for creating a file called
.gitlab-ci.yml
) - Create the Build Script (see Example Build Script)
image: java:8
before_script:
- curl --location -o /tmp/box.zip https://www.ortussolutions.com/parent/download/commandbox/type/bin
- unzip /tmp/box.zip -d /tmp/
- chmod a+x /tmp/box
- /tmp/box install fixinator
fixinator:
script:
- /tmp/box fixinator path=. confidence=high
Here is an example GitLab repository job result.