Other CI Providers
BuildPulse natively supports Github Actions, CircleCI, Semaphore, and Travis CI. If you're using a different CI provider, you can still use BuildPulse with a couple extra steps.
As a part of your last build step, you'll need to upload your test results, and optionally coverage files, to BuildPulse. You can do this using the BuildPulse Test Reporter
To use test-reporter with another CI provider, the following environment variables must be set:
Environment Variable | Description |
---|---|
GIT_BRANCH | Git branch of the build, or PR number |
GIT_COMMIT | Git commit SHA |
BUILD_URL | URL of the build. If running locally, set as https://example.com |
ORGANIZATION_NAME | Name of the Github organization |
REPOSITORY_NAME | Name of the repository |
Example:
BUILDPULSE_ACCESS_KEY_ID=$INPUT_KEY \
BUILDPULSE_SECRET_ACCESS_KEY=$INPUT_SECRET \
GIT_COMMIT=$GIT_COMMIT \
GIT_BRANCH=$GIT_BRANCH \
BUILD_URL=$BUILD_URL \
ORGANIZATION_NAME=$ORGANIZATION_NAME \
REPOSITORY_NAME=$REPOSITORY_NAME \
./buildpulse-test-reporter submit $REPORT_PATH --account-id $ACCOUNT_ID --repository-id $REPOSITORY_ID --repository-dir $REPOSITORY_PATH