Execute Katalon Studio tests with Jenkins Pipeline Script (Jenkinsfile)
Jenkins Pipeline (Jenkinsfile) provides an extensible set of tools for modeling simple-to-complex delivery pipelines. To learn more about creating a Jenkinsfile, see this Jenkins documentation: Using a Jenkinsfile.
This tutorial shows you how to execute Katalon Studio tests in Jenkins with Jenkins Pipeline Script (Jenkinsfile).
Jenkins installed. Follow the instructions in this Jenkins documentation: Installing Jenkins.
Katalon Runtime Engine (KRE) installed. You can find it here: Katalon products.
An active KRE license. To learn more about activating a KRE license, see Activate licenses.
Configure and execute a Jenkins Pipeline project
Troubleshooting: java.lang.NoClassDefFoundError: org/openqa/selenium/WebElement
When you run your test with Jenkins on Ubuntu using the Jenkins pipeline script (Jenkinsfile), you might encounter the error: "java.lang.NoClassDefFoundError: org/openqa/selenium/WebElement"
This error happens because Jenkins requires the read, write, and execute permissions to the Katalon Runtime Engine installed folder.
sudo chmod -R 777 <path to the Katalon Runtime Engine installed folder>