Is it possible to override execution profile variables through CMD using docker image?

I noticed that since 5.9 Katalon started to support overriding execution profile variables. However, I can only find 5.8.6 on katalon-studio/docker-images. I have integrated Katalon with TestRail and Gitlab CI. Currently, after each test suites complete their jobs, the results will be collected and sent to TestRail. Now I’d like to create a flag that determines whether the results will be sent to TestRail or not.

@AfterTestCase
def afterTestCase(TestCaseContext testCaseContext) {
	if(GlobalVariable.IS_TEST_PLAN_CREATED){
		def tc_ids = testCaseContext.getTestCaseVariables()['testrail_tc_id'].split(",")
		for (def n : (0 .. tc_ids.length - 1)) {
			GlobalVariable.G_run_testrail_tc_id.add(tc_ids[n])
			GlobalVariable.G_run_testrail_tc_status.add(testCaseContext.getTestCaseStatus())
		}
	}
}

@AfterTestSuite
def afterTestSuite() {
	if(GlobalVariable.IS_TEST_PLAN_CREATED){
		WebUI.callTestCase(findTestCase('TestRail/Communicate With TestRail'), [:], FailureHandling.CONTINUE_ON_FAILURE)
	}
}

I added a variable IS_TEST_PLAN_CREATED to .gitlab-ci.yml and execution profile in Katalon. Ideally I can override the variable through -g_XXX option. I can implement this by giving value to the variable when creating a new pipeline. Yet the version on docker image doesn’t support overriding execution profile variables feature.

Are there any other ways to achieve this? Thanks in advance.

Just FYI - we’ve built a TestRail integration plugin for Katalon Studio. If you have any feedback or suggestions we are happy to hear from you.

https://store.katalon.com/product/13/TestRail-Integration