GitLab Integration

  • Open Momentum’s Automate → SETTINGS → INTEGRATIONS and click the GitLab option. You will see the status “NOT-INTEGRATED“.

  • Click INTEGRATE button.

  • Fulfill your HostUrl. (For cloud edition please type https://gitlab.com/ )

  • Fulfill your AccessToken. For cloud edition please generate and get your personal access token from this URL “https://gitlab.com/-/profile/personal_access_tokens

  • Personal access token generation:

    • Name: momentum

    • Expires at: 10 years

    • Scopes: Check ALL permission levels

    • Click Personal Access Token

  • Fulfill your Master Branch name. For cloud edition please type “main“. But some on-premise versions may still have default branch “master”. In this field, write what the default branch name is when you create a new GitLab repository.

 

  • In order to make GitLab integration, you need to make a change in your current project or create a new project. Adding a new Step or reordering steps is necessary for the creation of the new GitLab project.

It may take a few minutes for your new private repository to be created on GitLab.

If your Momentum Project’s name is “myproject” and your platform is “Android”, your private repository name will be “Momentum_myproject_android

If you use (Java, CSharp, JS, Python, Ruby) programming languages in your project, a separate branch is created for each used language with Momentum SDK. Please check out your code branch to start development or debugging.

Learn more about Git and Visual Studio Code Integration >

IN SUMMARY

  1. Integrate your MomentumSuite account with your Gitlab account as mentioned above.

  2. If any step code is changed or a new step is added, you will see that it is created if you do not have a Momentum Gitlab project.