FileOperationsPlugin seems to be buggy

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Critical
    • Component/s: file-operations-plugin
    • None
    • Environment:
      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"
          } 

            Assignee:
            Suresh Kumar
            Reporter:
            Nikolai Ehrhardt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: