[JIRA] (JENKINS-58920) Jenkins Katalon integration: javascript fails to execute in Windows Server (execute Windows batch command)

2019-08-26 Thread yolanda.m...@arhs-consulting.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Y M commented on  JENKINS-58920  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Jenkins Katalon integration: _javascript_ fails to execute in Windows Server (execute Windows batch command)   
 

  
 
 
 
 

 
 Apparently is a bug that impacts only Jenkins running as a service, not as a Java Web Start: https://forum.katalon.com/t/scripts-runs-on-windows-server-but-not-through-jenkins/31459/6  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201263.1565774283000.9500.1566812820122%40Atlassian.JIRA.


[JIRA] (JENKINS-58920) Jenkins Katalon integration: javascript fails to execute in Windows Server (execute Windows batch command)

2019-08-14 Thread yolanda.m...@arhs-consulting.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Y M updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58920  
 
 
  Jenkins Katalon integration: _javascript_ fails to execute in Windows Server (execute Windows batch command)   
 

  
 
 
 
 

 
Change By: 
 Y M  
 

  
 
 
 
 

 
 Hi,I have a master - slave architecture, where the master is Linux Red Hat, and the slave is a Windows Server 2016.In the Windows server, I have installed Katalon 6.2.1.I made an integration test to run one simple script in the slave, but using Jenkins master. This is done by restricting in which node can the script be executed. As build step, I use "execute Windows batch command".My script needs to execute _javascript_. I could execute it successfully in the slave, using Katalon Studio, but when I executed it through Jenkins, this is the exception I got:---2019-08-13 14:46:32.531 ERROR c.k.k.core.keyword.internal.KeywordMain  - ? Unable to execute _javascript_. (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to execute _javascript_. at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64) at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26) at com.kms.katalon.core.webui.keyword.builtin.ExecuteJavaScriptKeyword.executeJavascript(ExecuteJavascriptKeyword.groovy:42) at com.kms.katalon.core.webui.keyword.builtin.ExecuteJavaScriptKeyword.execute(ExecuteJavascriptKeyword.groovy:37) at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56) at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.executeJavaScript(WebUiBuiltInKeywords.groovy:3787) at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$executeJavaScript$2.call(Unknown Source) at create new client.run(create new client:25) at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194) at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119) at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337) at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328) at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307) at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299) at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233) at com.kms.katalon.core.main.TestSuiteExecutor.accessTestCaseMainPhase(TestSuiteExecutor.java:133) at com.kms.katalon.core.main.TestSuiteExecutor.accessTestSuiteMainPhase(TestSuiteExecutor.java:116) at com.kms.katalon.core.main.TestSuiteExecutor.execute(TestSuiteExecutor.java:83) at com.kms.katalon.core.main.TestCaseMain.startTestSuite(TestCaseMain.java:157) at com.kms.katalon.core.main.TestCaseMain$startTestSuite$0.call(Unknown Source) at TempTestSuite1565700365710.run(TempTestSuite1565700365710.groovy:35)Caused by: org.openqa.selenium._javascript_Exception: _javascript_ errorBuild 

[JIRA] (JENKINS-58920) Jenkins Katalon integration: javascript fails to execute in Windows Server (execute Windows batch command)

2019-08-14 Thread yolanda.m...@arhs-consulting.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Y M created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58920  
 
 
  Jenkins Katalon integration: _javascript_ fails to execute in Windows Server (execute Windows batch command)   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Kohsuke Kawaguchi  
 
 
Components: 
 batch-task-plugin  
 
 
Created: 
 2019-08-14 09:18  
 
 
Environment: 
 Jenkins ver. 2.107.1  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Y M  
 

  
 
 
 
 

 
 Hi, I have a master - slave architecture, where the master is Linux Red Hat, and the slave is a Windows Server 2016. In the Windows server, I have installed Katalon 6.2.1. I made an integration test to run one simple script in the slave, but using Jenkins master. This is done by restricting in which node can the script be executed. As build step, I use "execute Windows batch command". My script needs to execute _javascript_. I could execute it successfully in the slave, using Katalon Studio, but when I executed it through Jenkins, this is the exception I got: --- 2019-08-13 14:46:32.531 ERROR c.k.k.core.keyword.internal.KeywordMain  - ? Unable to execute _javascript_. (Root cause: com.kms.katalon.core.exception.StepFailedException: Unable to execute _javascript_.  at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)  at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26)  at com.kms.katalon.core.webui.keyword.builtin.ExecuteJavaScriptKeyword.executeJavascript(ExecuteJavascriptKeyword.groovy:42)  at com.kms.katalon.core.webui.keyword.builtin.ExecuteJavaScriptKeyword.execute(ExecuteJavascriptKeyword.groovy:37)  at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:56)  at