# Can't Katalon Script with Jenkins on macOS

**URL:** <https://forum.katalon.com/t/cant-katalon-script-with-jenkins-on-macos/9370>\
**Category:** Integrations\
**Tags:** jenkins, integrations, katalon-studio\
**Created:** [February 14, 2018, 6:46am UTC](https://forum.katalon.com/t/cant-katalon-script-with-jenkins-on-macos/9370 "2018-02-14T06:46:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![newBieTester](https://avatars.discourse-cdn.com/v4/letter/n/bbe5ce/32.png) [@newBieTester](https://forum.katalon.com/u/newBieTester)\
**Post date:** [February 14, 2018, 6:46am UTC](https://forum.katalon.com/t/cant-katalon-script-with-jenkins-on-macos/9370/1 "2018-02-14T06:46:59Z")

</div>

I get stuck so long time When i run Katalon script on jenkins.  
System : macOS Sierra version 10.12.6

I’m tried moved Jenkins CI  
from `/Library/LaunchDaemons/` to `/Library/LaunchAgents/ `  
Then log out and log in jenkins account again. When i run job jenkins It show log below.

java.lang.IllegalStateException: The platform metadata area could not be written: /Applications/Katalon [Studio.app/Contents/MacOS/config/.metadata](https://l.facebook.com/l.php?u=http%3A%2F%2FStudio.app%2FContents%2FMacOS%2Fconfig%2F.metadata&h=ATMBOISSa09X6dxz-dWrkpi62PO5mbme1o_csBDOgbgr8aSNqQ8kmw-AldgYaWzhzB8iY399idT5ZOw05l103hKLNpu6YO8SyBBJdzps5YUjZNLYJ1-QIhzI1xpDShJdhN5cv362u_sAmzJ1 "Link: https://l.facebook.com/l.php?u=http%3A%2F%2FStudio.app%2FContents%2FMacOS%2Fconfig%2F.metadata&h=ATMBOISSa09X6dxz-dWrkpi62PO5mbme1o\_csBDOgbgr8aSNqQ8kmw-AldgYaWzhzB8iY399idT5ZOw05l103hKLNpu6YO8SyBBJdzps5YUjZNLYJ1-QIhzI1xpDShJdhN5cv362u\_sAmzJ1"). By default the platform writes its content under the current working directory when the platform is launched. Use the -data parameter to specify a different content area for the platform.

---

<div class="post-metadata">

**Author:** ![Gaurav\_Rathi](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@Gaurav\_Rathi](https://forum.katalon.com/u/Gaurav_Rathi)\
**Post date:** [March 14, 2018, 10:51am UTC](https://forum.katalon.com/t/cant-katalon-script-with-jenkins-on-macos/9370/2 "2018-03-14T10:51:29Z")

</div>

Any update on this? Even i am getting the same issue,

---

<div class="post-metadata">

**Author:** ![Zarashima](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/zarashima/32/928_2.png) [@Zarashima](https://forum.katalon.com/u/Zarashima)\
**Post date:** [March 15, 2018, 2:59am UTC](https://forum.katalon.com/t/cant-katalon-script-with-jenkins-on-macos/9370/3 "2018-03-15T02:59:08Z")

</div>

Can you post more details such as your Katalon command line in this case?

---

<div class="post-metadata">

**Author:** ![Peter\_van\_Oosten](https://avatars.discourse-cdn.com/v4/letter/p/bc8723/32.png) [@Peter\_van\_Oosten](https://forum.katalon.com/u/Peter_van_Oosten)\
**Post date:** [April 19, 2018, 10:48am UTC](https://forum.katalon.com/t/cant-katalon-script-with-jenkins-on-macos/9370/4 "2018-04-19T10:48:17Z")

</div>

Hello, Have the same log as in the first post.

```auto
!ENTRY org.eclipse.osgi 4 0 2018-04-19 12:42:22.439!MESSAGE Application error!STACK 1java.lang.IllegalStateException: The platform metadata area could not be written: /Applications/Katalon Studio.app/Contents/MacOS/config/.metadata. By default the platform writes its contentunder the current working directory when the platform is launched. Use the -data parameter tospecify a different content area for the platform.

```

This is my Katalon command line: (shell script)

----  
cd /applications

./Katalon\ Studio.app/Contents/MacOS/katalon --args -noSplash -runMode=console -consoleLog -projectPath="/Users/peterv/Katalon Studio/Project1a/Project1a.prj" -retry=0 -testSuitePath=“Test Suites/New Test Suite” -executionProfile=“default” -browserType=“Chrome”  
—

---

<div class="post-metadata">

**Author:** ![Gaurav\_Rathi](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@Gaurav\_Rathi](https://forum.katalon.com/u/Gaurav_Rathi)\
**Post date:** [May 3, 2018, 7:11am UTC](https://forum.katalon.com/t/cant-katalon-script-with-jenkins-on-macos/9370/5 "2018-05-03T07:11:22Z")

</div>

If you have moved the Katalon App to Application folder in MacOS, need to run the Katalon from Application folder only and not from the Katalon installation logo.

---

<div class="post-metadata">

**Author:** ![Gaurav\_Rathi](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@Gaurav\_Rathi](https://forum.katalon.com/u/Gaurav_Rathi)\
**Post date:** [May 3, 2018, 7:14am UTC](https://forum.katalon.com/t/cant-katalon-script-with-jenkins-on-macos/9370/6 "2018-05-03T07:14:37Z")

</div>

Also, start your Jenkin from /Application/Jenkins  
java -jar jenkins.war. This has solved my issue.

---

<div class="post-metadata">

**Author:** ![derin.ibikunle](https://avatars.discourse-cdn.com/v4/letter/d/7c8e57/32.png) [@derin.ibikunle](https://forum.katalon.com/u/derin.ibikunle)\
**Post date:** [June 6, 2019, 9:34pm UTC](https://forum.katalon.com/t/cant-katalon-script-with-jenkins-on-macos/9370/7 "2019-06-06T21:34:45Z")

</div>

I am doing both those things but i still get the error.

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:48am UTC](https://forum.katalon.com/t/cant-katalon-script-with-jenkins-on-macos/9370/8 "2022-08-08T07:48:39Z")

</div>

Archived on August 8, 2022, 7:48am UTC


