Katalon Studio Jenkins Plugin

My tests run fine on my personal Jenkins server but I am having the below issues when running on my companies Enterprise version. I am using the Katalon Plugin.

2 Issues:

  • Downloads but cannot find Katalon
  • Does not download when encountering a new machine

2 Jenkins logs below:

First Build on machine X - Downloaded Katalon Studio but cannot find?

Started by user Matt@projectx.com
Agent default-java-m0v5q is provisioned from template Kubernetes Pod Template
Agent specification [Kubernetes Pod Template] (default-java): 
- [jnlp] jenkins/jnlp-slave:alpine(resourceRequestCpu: 0.5, resourceRequestMemory: 2)

Building remotely on default-java-m0v5q (default-java) in workspace /home/jenkins/workspace/api/Katalon Tests/Smoke/Regression-Smoke
using credential 2f66224xxxx
Cloning the remote Git repository
Cloning repository https://github.com/projectx-Inc/Katalon-Automation.git
 - git init /home/jenkins/workspace/api/Katalon Tests/Smoke/Regression-Smoke # timeout=10
Fetching upstream changes from https://github.com/projectx-Inc/Katalon-Automation.git
 - git --version # timeout=10
using GIT_ASKPASS to set credentials projectx-Jenkins GitHub PAT
 - git fetch --tags --progress https://github.com/projectx-Inc/Katalon-Automation.git +refs/heads/*:refs/remotes/origin/*
 - git config remote.origin.url https://github.com/projectx-Inc/Katalon-Automation.git # timeout=10
 - git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 - git config remote.origin.url https://github.com/projectx-Inc/Katalon-Automation.git # timeout=10
Fetching upstream changes from https://github.com/projectx-Inc/Katalon-Automation.git
using GIT_ASKPASS to set credentials projectx-Jenkins GitHub PAT
 - git fetch --tags --progress https://github.com/projectx-Inc/Katalon-Automation.git +refs/heads/*:refs/remotes/origin/*
 - git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 - git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision e9cfdf968c38c203b458d48d7ef36a5ebb379e2f (refs/remotes/origin/master)
 - git config core.sparsecheckout # timeout=10
 - git checkout -f e9cfdf968c38c203b458d48d7ef36a5ebb379e2f
Commit message: "Add Smoke Test Suite"
 - git rev-list --no-walk e9cfdf968c38c203b458d48d7ef36a5ebb379e2f # timeout=10
Retrieve Katalon Studio version: 6.0.6, OS: linux
Number of releases: 122
Katalon Studio is hosted at https://github.com/katalon-studio/katalon-studio/releases/download/v6.0.6/Katalon_Studio_Linux_64-6.0.6.tar.gz.
Downloading Katalon Studio from https://github.com/katalon-studio/katalon-studio/releases/download/v6.0.6/Katalon_Studio_Linux_64-6.0.6.tar.gz. It may take a few minutes.
Katalon Studio has been installed successfully.
Using Katalon Studio at /var/jenkins_home/.katalon/6.0.6/Katalon_Studio_Linux_64-6.0.6
Execute [sh, -c, /var/jenkins_home/.katalon/6.0.6/Katalon_Studio_Linux_64-6.0.6/katalon -noSplash  -runMode=console  -projectPath="/home/jenkins/workspace/api/Katalon Tests/Smoke/Regression-Smoke"  retry=0 -testSuitePath="Test Suites/API Regression/API-Smoke" -executionProfile="aw_qa" -browserType="Web Service" ] in /tmp/katalon-739430283366668866
sh: /var/jenkins_home/.katalon/6.0.6/Katalon_Studio_Linux_64-6.0.6/katalon: not found
Build step 'Execute Katalon Studio Tests' marked build as failure
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Finished: FAILURE

Second Build on machine Y - Says it is already downloaded. This is a different machine?

Started by user Matt@projectx.com
Agent default-java-hg10z is provisioned from template Kubernetes Pod Template
Agent specification [Kubernetes Pod Template] (default-java): 
- [jnlp] jenkins/jnlp-slave:alpine(resourceRequestCpu: 0.5, resourceRequestMemory: 2)

Building remotely on default-java-hg10z (default-java) in workspace /home/jenkins/workspace/api/Katalon Tests/Smoke/Regression-Smoke
using credential 2f66xxxx
Cloning the remote Git repository
Cloning repository https://github.com/projectx-Inc/Katalon-Automation.git
 - git init /home/jenkins/workspace/api/Katalon Tests/Smoke/Regression-Smoke # timeout=10
Fetching upstream changes from https://github.com/projectx-Inc/Katalon-Automation.git
 - git --version # timeout=10
using GIT_ASKPASS to set credentials projectx-Jenkins GitHub PAT
 - git fetch --tags --progress https://github.com/projectx-Inc/Katalon-Automation.git +refs/heads/*:refs/remotes/origin/*
 - git config remote.origin.url https://github.com/projectx-Inc/Katalon-Automation.git # timeout=10
 - git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 - git config remote.origin.url https://github.com/projectx-Inc/Katalon-Automation.git # timeout=10
Fetching upstream changes from https://github.com/projectx-Inc/Katalon-Automation.git
using GIT_ASKPASS to set credentials projectx-Jenkins GitHub PAT
 - git fetch --tags --progress https://github.com/projectx-Inc/Katalon-Automation.git +refs/heads/*:refs/remotes/origin/*
 - git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 - git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision e9cfdf968c38c203b458d48d7ef36a5ebb379e2f (refs/remotes/origin/master)
 - git config core.sparsecheckout # timeout=10
 - git checkout -f e9cfdf968c38c203b458d48d7ef36a5ebb379e2f
Commit message: "Add Smoke Test Suite"
 - git rev-list --no-walk e9cfdf968c38c203b458d48d7ef36a5ebb379e2f # timeout=10
Katalon Studio package has been downloaded already.
Using Katalon Studio at /var/jenkins_home/.katalon/6.0.6/Katalon_Studio_Linux_64-6.0.6
Execute [sh, -c, /var/jenkins_home/.katalon/6.0.6/Katalon_Studio_Linux_64-6.0.6/katalon -noSplash  -runMode=console  -projectPath="/home/jenkins/workspace/api/Katalon Tests/Smoke/Regression-Smoke"  retry=0 -testSuitePath="Test Suites/API Regression/API-Smoke" -executionProfile="aw_qa" -browserType="Web Service" ] in /tmp/katalon-7556420092455180848
sh: /var/jenkins_home/.katalon/6.0.6/Katalon_Studio_Linux_64-6.0.6/katalon: not found
Build step 'Execute Katalon Studio Tests' marked build as failure
Finished: FAILURE

Hi @Matt_Thurman,

Please go to the following directory “/var/jenkins_home/.katalon/6.0.6/Katalon_Studio_Linux_64-6.0.6”, then checking if the Katalon folder exist or not.