Not able to execute Test Suite Collection in Jenkins


#1

Hi

I have created the jenkins freestyle project to run the katalon test suite collection (TSC) from windows cmd, the run request for the test suite collection sent successfully to the katalon, but the process doesn’t complete and collection not run…

Using the command :
cd /opt/Katalon_Studio_Linux_64-6.1.1
./katalon --args -noSplash -runMode=console -projectPath="/var/lib/jenkins/workspace/**/**tsc.prj" -retry=0 -testSuiteCollectionPath=“Test Suites/TestCollection” -browserType=“Chrome (headless)”

But it is showing Build step ‘Execute shell’ marked build as failure in Jenkins Console.


#2

Please give use some logs.


#3

Hi @devalex88

When I Use Test Suite in Jenkins for chrome (headless) it’s working fine,But the same in Firefox (headless) showing this issue [Executed via “Execute shell” in jenkins]
image

The same when I executed via “Execute Katalon Studio Tests” in jenkins


#4

hi,

are you using window or Linux OS?
“windows cmd”
“Katalon_Studio_Linux_64-6.1.1”

/opt & /var, i guess you are using Linux

is this added to your jenkins command window?
#!/bin/bash