GitLab

What is GitLab?

GitLab is a DevOps software package that combines the ability to develop, secure, and operate software in a single application.

Why use GitLab integration?

With the GitLab app, you can:

  • Link Qase test cases to GitLab issues

  • Create a new issue in GitLab when you file a defect during a test run in Qase

  • Link Qase test runs to GitLab issues

  • Execute automated runs in GitLab from a Qase test run

How to install GitLab?

Note: Before you proceed with the installation, please have your GitLab URL and the Authorization token ready.

  1. Click "Apps" in your Qase workspace:

  2. Click GitLab card, then hit "Install now"

  3. Fill in the URL of your GitLab page

  4. Fill in the Authorization Token

  5. Click “Install”

  6. The app has been successfully installed

Usage

Linking from Qase to GitLab:

1. To link a GitLab to a Qase test case from Qase:

  • Select a case in the repository and switch to properties in the sidebar

  • Click "Link GitLab app issues"

  • Insert GitLab issue title into the field and hit "Link"

  • Now the issue is linked:

2. To unlink the GitLab issue, click "x" next to the card title:

3. Link Qase test runs to GitLab issues:

  • Navigate to the test runs page

  • Click on the run

  • In the run's main page, locate the side-bar to the right

  • Scroll down and under "External Issue" click on "Select an Integration"

  • Select "GitLab app"

  • Search for the issue's title and click on "Link"

Create GitLab issue while creating a defect in Qase

  • In the test run, mark your case as failed, blocked, or Invalid and proceed with creating a defect.

  • In the defect creation form, under “Choose Integrations” select "GitLab App" and click "Add defect"

  • Fill in the required fields then hit "Create"

  • In the Qase defect you will now have a connected GitLab issue link:

CI/CD Workflows

How to install?

  1. First of all, you need to check a project inside your GitLab and open the "Preferences" page:

  2. Go to the "Access tokens" menu:

  3. Create a new token and select a scope "api" and click on the "Create personal access token":

  4. Copy created token to the clipboard.

  5. Open Qase Apps menu, find the Gitlab integration and install it. You will see a form. Fill in necessary fields with data:

  6. Click the "Install" button. After a few seconds, you will be redirected to the "Apps" page and see that the "Gitlab" integration has been successfully installed.

How to use it?

  1. Create the automated test run:

  2. Select the Gitlab option in the CI/CD System field:

  3. Fill in all necessary fields and click the Start a run button:

Last updated