Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-69680

FileOperationsPlugin seems to be buggy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • file-operations-plugin
    • 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"
          } 

            pskumar448 Suresh Kumar
            pymann Nikolai Ehrhardt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: