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

Issue with robo copy

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • Jenkins 2.289.2,batch task plugin 1.19

      Hello ,

      we were using the robocopy for performing a copy of files on our windows slave just after our jenkins version change to 2.289.2.

       

      Robocopy action return code is wrong and i have provided the same code below,

      bat """robocopy ${sourceDir} ${targetDir} ${fileNamePattern} /S /COPY:DAT /R:5 /W:20 /nfl /ndl /njs /njh
      IF %ERRORLEVEL% LEQ 7 set ERRORLEVEL=0"""

       

      Could someone can help us on this

            Unassigned Unassigned
            darknight113 Vijaykumar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: