Jenkins: 2.387.3
OS: Windows Server 2019 - 10.0
Java: 11.0.18 - Oracle Corporation (Java HotSpot™ 64-Bit Server VM)
So we are seeing this error pop up more and more where Jenkins will run and establish the .bat file
[dbt-run-post-grouper] $ cmd /c call C:\Users\SA_JNK~1\AppData\Local\Temp\jenkins14477882761793432522.bat
Then after processing thru the run we will get this error:
07:31:18 13:31:18 07:31:18 13:31:18 Finished running 18 incremental models, 70 table models in 3 hours 39 minutes and 52.84 seconds (13192.84s). 07:31:18 13:31:18 07:31:18 13:31:18 Completed successfully 07:31:18 13:31:18 07:31:18 13:31:18 Done. PASS=88 WARN=0 ERROR=0 SKIP=0 TOTAL=88 07:31:18 The batch file cannot be found. 07:31:18 Build step ‘Execute Windows batch command’ marked build as failure.
What is causing the bat file to go away? We are not doing any deletion of files in the run and the same code is used on multiple runs and will work most of the time yet we see this error occasionally. We don’t think it is the code as it works on other processes…not sure what would cause the bat file to disappear during processing?