-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Major
-
Component/s: durable-task-plugin
-
Environment:Windows 2008 RC2
Oracle JDK 8u112
Jenkins 2.46.3 (running as Windows service)
Jenkins Pipeline 2.5
I am implementing a Jenkins pipeline. One bat step contains the following command:
bat "findstr /R \"^.M\" file.txt"
This step fails with the message "ERROR: script returned exit code 1".
The circumflex character seems to cause the error.
bat "findstr /R \".M\" file.txt"
...works fine.