Git CI/CD pipeline integration with KRE

Hi, we want to integrate with Git pipeline running in a unix machine with katalon runtime engine running in a windows remote server. how to formulate the katalonc command specifying the windows remote machine and run in the gitlab pipeline stage?

Thanks

2 Likes

Hi there, and thanks for posting in the Katalon community! :hugs:

To help you faster, please review our guide on Git here:

Double-checking the steps and configurations might resolve the issue.

If the doc doesn’t help, feel free to provide more details, and a community member will assist you soon. Thanks for being a part of our community!

Best,
Elly Tran

1 Like

What is “Git pipeline”? I have never heard of the name. I believe there is no software product named “Git pipeline”.

Perhaps you miss-spelt GitLab CI/CD Pipelines. Please correct the title of this topic.

Install a GitLab Runner (or other CI agent) on the Windows server, register it to your project, and assign it to handle the job that runs KRE.

This way, your pipeline can assign the test execution job directly to the Windows runner, which locally executes katalonc with any required arguments.

  • Example .gitlab-ci.yml (for a Windows runner):

    stages: - test run_kre_windows: stage: test tags: - windows script: - katalonc.exe -noSplash -runMode=console -projectPath="C:\path\to\your\project" -testSuitePath="Test Suites/YourSuite" -apiKey=%KATALON_API_KEY% -browserType="Chrome"

Make sure your pipeline job is tagged appropriately to be picked by the Windows runner.