Comment on page
Circle CI
Integrating Reshift into your CircleCI build system.
If you don't already have a project set up, create a CircleCI Project. From the CircleCI app, click 'add projects', and select your code repository.
Go to the project settings
and 'create context'.


After you've created a context, click 'add environment variable' to secure your token.

Give it a name and add your
reshift token
found in your command.
Add a
.circleci/config.yml
file to your CircleCI project. Edit the .yml
file to include the context name (RESHIFT_SCAN) and environment variable (RESHIFT_TOKEN). See the example below.version: 2.1
orbs: maven: circleci/[email protected]
workflows: maven_test: jobs:
maven/test:
context: RESHIFT_SCAN
command: 'compile com.softwaresecured.reshift:maven-plugin:LATEST:analyse com.softwaresecured.reshift:maven-plugin:LATEST:upload -Dreshift.token=$RESHIFT_TOKEN
**example is with Maven for Java. Add commands pertaining to your language and environment.
Commit the changes, and it should automatically kick off a build. The results will be reflected on your Reshift dashboard.
If you have any more questions, please email us at [email protected]!
Last modified 3yr ago