[JIRA] (JENKINS-58187) Jenkins unable to launch batch file

4 views
Skip to first unread message

sheick.m.busgeet@accenture.com (JIRA)

unread,
Jun 25, 2019, 9:57:02 AM6/25/19
to jenkinsc...@googlegroups.com
Sheick Busgeet created an issue
 
Jenkins / Bug JENKINS-58187
Jenkins unable to launch batch file
Issue Type: Bug Bug
Assignee: Kohsuke Kawaguchi
Attachments: chromedriver.exe, debug.log, Demo.py, SimpleScript.bat
Components: batch-task-plugin, jenkinsfile-runner, jenkinslint-plugin
Created: 2019-06-25 13:56
Environment: Windows 10
Priority: Major Major
Reporter: Sheick Busgeet

Hi Team, 

 

I am new to Jenkins and would like to execute some batch scripts.

Steps performed:

1) Create a python script with imported selenium libraries

2) Download and install Jenkins

3) Download chromedriver

4) Create a new item in Jenkins (Freestyle project with build action: execute windows batch command).  Command: call "C:\Users\sheick.m.busgeet\Desktop\JenkinsPythonSelenium\SimpleScript.bat"

 

When i launch the batch file outside Jenkins, everything works but when i launch through Jenkins, it does not work and a debug file is generated (see attached).

 

Kindly help,

Regards,

Sheick

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

sheick.m.busgeet@accenture.com (JIRA)

unread,
Jun 27, 2019, 6:33:03 AM6/27/19
to jenkinsc...@googlegroups.com
Sheick Busgeet closed an issue as Fixed
Change By: Sheick Busgeet
Status: Open Closed
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages