Katalon and Jenkins integration on Windows


#1

I am using Windows 10 and Katalon studio 5.4.1 but when I try to make a build in Jenkins using the generated command <<katalon -noSplash -runMode=console -consoleLog -projectPath=“C:\path\to\project\Katalon Studio\TestProject\TestProject.prj” -retry=0 -testSuitePath=“Test Suites/face_profil” -executionProfile=“default” -browserType=“Firefox”>>, another terminal is opened and the first one give a success code so it does not take into account the result of the running test suite or collection. Please can anyone help me to fix that?
Thank you.

NB: I am already in the Katalon Studio folder (cd C:\ path\to\katalon)


#2

try to add -login -password parameters to your command
for example:

-email="testmail@gmail.com" -password="test123" 

#3

Thank you Oleg for your help but I does not work!


#4

Note: the command should NOT include the -noExit and -consoleLog parameters so that CI logs can be displayed directly on the job view.

see https://www.katalon.com/resources-center/tutorials/jenskins-ci-integration/ for more info.


#5

Gerard van der Winkel said:

Note: the command should NOT include the -noExit and -consoleLog parameters so that CI logs can be displayed directly on the job view.

see https://www.katalon.com/resources-center/tutorials/jenskins-ci-integration/ for more info.

Thank you van der Winkel It worked !