Glitches due to "Execute Windows batch command" being stored with UNIX line endings

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major
    • Component/s: batch-task-plugin
    • None

      I get "The system cannot find the batch label specified" error even though label exists.
      The problems doesn't reproduce when I copy "Execute Windows batch command" text into .bat file and run it.
      I've discovered that line endings are NOT CRLF in the batch script stored in config.xml - but they should be.

      See http://stackoverflow.com/questions/232651/why-the-system-cannot-find-the-batch-label-specified-is-thrown-even-if-label-ex for explanation.

            Assignee:
            Kohsuke Kawaguchi
            Reporter:
            pancake
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: