• 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

          [JENKINS-66217] Issue with robo copy

          Vijaykumar created issue -
          Vijaykumar made changes -
          Description Original: Hello ,

          we were using the robocopy for performing a copy of files on our windows space 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
          New: 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
          lacostej made changes -
          Component/s New: durable-task-plugin [ 18622 ]
          Component/s New: workflow-durable-task-step-plugin [ 21715 ]
          Component/s Original: batch-task-plugin [ 15505 ]
          Mark Waite made changes -
          Priority Original: Blocker [ 1 ] New: Trivial [ 5 ]
          Mark Waite made changes -
          Component/s Original: durable-task-plugin [ 18622 ]
          Mark Waite made changes -
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]

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

              Created:
              Updated: