jenkinsci / jenkinsci/workflow-durable-task-step-plugin

[JENKINS-66217] Issue with robo copy

Open
#586 2 comments 0 reactions 0 assignees View on GitHub
component:workflow-durable-task-step-plugin imported-jira-issue priority:trivial resolution:unresolved
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


  • status: Open
  • priority: Trivial
  • component(s): workflow-durable-task-step-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 4
  • imported: 20251212-090250

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.