jenkinsci / jenkinsci/workflow-durable-task-step-plugin
[JENKINS-66217] Issue with robo copy
- Dominant language
- Java
- Stars
- 46
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
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
---
Originally reported by darknight113, imported from: Issue with robo copy
Raw content of original issue
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
- environment:
Jenkins 2.289.2,batch task plugin 1.19
Contributor guide
Assessment
This issue has not been assessed yet.