Activation of KRE License in Unix server

Hii Team,
Kindly guide me with the procedure how to activate KRE license in unix server and
What configuration do I need in unix server to run a CICD Pipeline via Jenkin.
info-My team needs to run 100 test cases daily through a CICD pipeline in Unix server and we have 2 unix servers.One for KRE and another one is for CICD pipeline.

Thanks in advance

1 Like

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.

Thanks!

Anyone having any information ! Please reply

Hi,

I will ask my team and let you know soon. Loop @vy.huynh for visibility

Any update please

Ensure JDK is installed on your UNIX server as Katalon needs it

Navigate to the directory on your server where Katalon is present.
Then run the below command:

./katalonc -noSplash -runMode=console -projectPath=“/path/to/your/project” -apiKey=“your_katalon_api_key”

Let me know if this works

1 Like

For the configuration CICD, ensure you have Jenkins and required plugins (Git, Pipeline, SSH Agent) installed. Then you can try:

  1. Create a Jenkins Pipeline:
  • Create a new Jenkins pipeline job and configure it to use your version control system (e.g., Git) to pull the latest code.
  • Define the pipeline script (Jenkinsfile) that includes the steps for running your Katalon tests.
  1. Configure the Pipeline Script (Jenkinsfile):

Here’s an example Jenkinsfile that triggers Katalon tests on a Unix server:

pipeline {
    agent any
    environment {
        KATALON_PATH = "/path/to/katalon"
        PROJECT_PATH = "/path/to/your/project"
        API_KEY = "your-api-key"
    }
    stages {
        stage('Checkout') {
            steps {
                checkout scm
            }
        }
        stage('Run Tests') {
            steps {
                sh """
                ${KATALON_PATH}/katalonc -noSplash -runMode=console -projectPath="${PROJECT_PATH}" -apiKey="${API_KEY}" -retry=0 -testSuitePath="Test Suites/YourTestSuite" -executionProfile="default" -browserType="Chrome"
                """
            }
        }
    }
}

  1. Schedule the Pipeline:

Configure the Jenkins job to run daily using the “Build periodically” option. For example, to run the job every day at midnight, you can use the following cron syntax:
H 0 * * *

Thank you everyone for your valuable feedbacks.Our team wl try to active that KRE license in few days and working on that CICD Pipeline.I wl let yo know if any challenges come.

hey @debiprasad.samantara
is it works as expected at your side? since I have same problem to solve :bowing_man:

1 Like

As a note for anyone else - there’s a few different approaches in the Katalon documentation with Jenkins integration:

As for prereqs for KRE and system requirements, you can review them here:

1 Like