The MoQuality Developer Hub

Welcome to the MoQuality developer hub. You'll find comprehensive guides and documentation to help you start working with MoQuality as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Integration with Bitrise (beta)

Beta Feature

This feature might change or be backward compatible. However, we are testing it now.


Bitrise is a Continuous Integration and Delivery Platform as a Service. MoQuality integrates with the workflows of Bitrise by adding a step to a workflow. The following instructions outline how to integrate MoQuality with your Bitrise workflow.


Sample App with Bitrise Workflow

MoQuality hosts a GitHub repository that contains example code for all of our CI/CD integrations, including Bitrise. You can take advantage of this repository by running the following command in the directory of your choosing.

git clone


Set Variables

Set your MoQuality email, password as environment variables. You can also set APK_PATH which is the path to your folder for apk's.

export APK_PATH=/Users/[USERNAME]/Calculator/app/build/outputs/apk/

Open bitrise.yml

Ensure bitrise.yml is in your main directory, and open the file in an editor.

Set File Paths

In bitrise.yml, there should be environment variables GRADLE_BUILD_FILE_PATH and GRADLEW_PATH. These are the paths to your build.gradle and gradlew files, respectively. You can find these paths using your file explorer. When you know the paths, enter them in bitrise.yml for their respective variables. The below code is an example of how your variables might look.

  - GRADLE_BUILD_FILE_PATH: /Users/[USERNAME]/Calculator/build.gradle
  - GRADLEW_PATH: /Users/[USERNAME]/Calculator/gradlew

Remove Two Steps

There are two default workflows in bitrise.yml: deploy and primary. To begin adding a step integrating MoQuality with either of these workflows, remove the last two steps, deploy-to-bitrise-io@1.3.10 and cache-push@2.0.5.

Add MQ CLI Installation Step

In place of those steps, add:

- script@1.1.5:
    title: Install MQ CLI and Upload App to MoQuality
    - content: |

Add a New Step

The following sub-instructions explain how to install the mq-cli and upload a new build of an app. These commands can either be run through a shell script or placed directly into bitrise.yml. Below are the commands to upload an app to MoQuality:

    npm install -g mq-cli
    mq login -e $MQ_EMAIL -p $MQ_PASSWORD
    mq upload -f $APK_PATH/app-debug.apk
    mq apps
  • npm install mq-cli installs the MQ CLI.

  • mq login will log you in.

  • mq user returns user information, and you can check that your user is correct.

  • mq upload will upload your app, whose location is provided by $APK_PATH.

  • mq apps returns a list of the user's apps, and you can confirm that your app version has incremented by one.

Completed Example

Your new step, integrating MoQuality with Bitrise, should be formatted like one of the two examples below.

- script@1.1.5:
    title: Install MQ CLI and Upload App to MoQuality
    - content: |
        npm install -g mq-cli
        mq login -e $MQ_EMAIL -p $MQ_PASSWORD
        mq upload -a $APP_ID -f $APK_PATH/app-debug.apk
        mq apps

- script@1.1.5:
    title: Install MQ CLI and Upload App to MoQuality
    - content: |
        sh [SCRIPT_NAME].sh

Run this workflow with bitrise run [WORKFLOW].


Gradle-runner step fails for task ':app:mergeDebugResources'

Don't worry about this error. Run the workflow again, and it should work.

Integration with Bitrise (beta)

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.