Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-58187

Jenkins unable to launch batch file

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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

        Attachments

        1. chromedriver.exe
          8.00 MB
        2. debug.log
          1.0 kB
        3. Demo.py
          0.2 kB
        4. SimpleScript.bat
          0.1 kB

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              kohsuke Kohsuke Kawaguchi
              Reporter:
              sheick Sheick Busgeet
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: