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

windows batch command cannot redirect output to file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • core
    • None
    • Windows

      I have configured a job with Build -> Execute Windows batch command -> Command set to "echo BUILD_NUMBER=%BUILD_NUMBER% >test.dat". But the file test.dat is not generated. It works fine on linux when using "execute shell"

            Unassigned Unassigned
            axelheider Axel Heider
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: