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

Jenkins can not call batch file

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • _unsorted
    • Jenkins 2.164
      windows 10 professional edition

      I hope Jenkins can call this batch file to execute.But the rusult is unexpected. it indicates that D:\Devapp\Jenkins\workspace\D1HA13T>D1HA13.cydsn\D1HA13.bat
      make: makefile: No such file or directory
      make: *** No rule to make target 'makefile'. Stop.

      The relatvie path is shown as below

      The content of D1HA13 batch file is shown as below

       

      If I input the command " make -fD1HA13.cydsn/makefile clean" instead of batch file path, Jenkin can run correctly.

       

      *I want to know how to inplement batch file in Jenkins.*Thanks in advanced!!!

       

            Unassigned Unassigned
            cooking12 wu jie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: