-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
jenkins: 2.361
FileOparationsPlugin: 1.11
OpenJDK11
Following Pipeline does not show any success:
cleanWs() dir("Super") { bat "dir" bat "echo hansi > hansi.txt" bat "mkdir hansi2" bat "echo hansi3 > hansi3.txt" bat "mkdir hansi3" bat "dir" bat "dir" } stage("FileOP") { fileOperations([ folderCopyOperation( sourceFolderPath: "Super/hansi2", destinationFolderPath: "hansi2" )]) fileOperations([ folderDeleteOperation( folderPath : 'Super' )]) fileOperations([ folderCopyOperation( sourceFolderPath: "hansi2", destinationFolderPath: "Super/hansi2" )]) } bat "dir" dir("Super") { bat "dir" }
[JENKINS-69680] FileOperationsPlugin seems to be buggy
Description |
Original:
Following Pipeline does not show any success: cleanWs() dir("Super") { bat "dir" bat "echo hansi > hansi.txt" bat "mkdir hansi2" bat "echo hansi3 > hansi3.txt" bat "mkdir hansi3" bat "dir" bat "dir" } stage("FileOP") { fileOperations([ folderCopyOperation( sourceFolderPath: "Super/hansi2", destinationFolderPath: "hansi2" )]) fileOperations([ folderDeleteOperation( folderPath : 'Super' )]) fileOperations([ folderCopyOperation( sourceFolderPath: "hansi2", destinationFolderPath: "Super/hansi2" )]) } bat "dir" dir("Super") { bat "dir" } |
New:
Following Pipeline does not show any success: {code:java} cleanWs() dir("Super") { bat "dir" bat "echo hansi > hansi.txt" bat "mkdir hansi2" bat "echo hansi3 > hansi3.txt" bat "mkdir hansi3" bat "dir" bat "dir" } stage("FileOP") { fileOperations([ folderCopyOperation( sourceFolderPath: "Super/hansi2", destinationFolderPath: "hansi2" )]) fileOperations([ folderDeleteOperation( folderPath : 'Super' )]) fileOperations([ folderCopyOperation( sourceFolderPath: "hansi2", destinationFolderPath: "Super/hansi2" )]) } bat "dir" dir("Super") { bat "dir" } {code} |
Environment |
Original:
jenkins: 2.361
FileOparationsPlugin: 1.11 |
New:
jenkins: 2.361
FileOparationsPlugin: 1.11 OpenJDK11 |