Hi,
This is not directly a jenkins issue, but i am clueless on why this is failing. All i trying to do is use robocopy (since we are using the damn-it windows) to copy over 2 files from a jenkins dir to my nodes. The part of the jenkins pipeline where its failing looks like this
bat "robocopy %cd%${some_path1}${some_path2} ${path_to_node}\\a_folder1 file1 file2"
bat "robocopy %cd%${some_path1}${some_path3} ${path_to_node}\\a_folder2 file1 file2"
bat "robocopy %cd%${some_path1}${some_path4} ${path_to_node}\\a_folder3 file1 file2"
bat "robocopy %cd%${some_path1}${some_path5} ${path_to_node}\\a_folder4 file1 file2"
When the job comes to portion where the above code exist, it appears that the first line of robocopy is executed. And it exist.