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

Progress Bar when stashing/unstashing files

    XMLWordPrintable

Details

    Description

      Current workflow plugin does not support checking the progress of file transfer when running in workflow scripts. If we are to copy same files to various slaves, with different connection speed. It will be a very long wait and not knowing what's the progress of the copy goes.

      Please add a progress bar during this stash/unstash process. It can be a simple text printed representing the percentage. Currently without this progress bar, we are using wget command which does download the file and give the progress bar. But this will only works if the file is located in a container webapps context, and kind of separated out the file from the Workflow Workspace which is the main idea of the Workflow plugin.

      Attachments

        Activity

          luciuszhun Edward Wijaya created issue -
          jglick Jesse Glick added a comment -

          Jenkins has never had a progress bar for the basic artifact archival feature, so this is a more general issue.

          jglick Jesse Glick added a comment - Jenkins has never had a progress bar for the basic artifact archival feature, so this is a more general issue.
          luciuszhun Edward Wijaya added a comment -

          Well Jenkins should add this feature. Because in case of stashing/unstashing process for 30 seconds that'd be acceptable, but imagine if it took more than 5 mins and no details on the progress whatsoever.. it'd be scary to put all your bet that the stash is still in progress/stuck..
          It all depends on the network stability of your slaves, but it would help a lot by knowing the progress.

          It is good if we can add something like wget progress bar, it'd help alot, I'm sure a lot of people will agree on this. It can be run as another separate thread spawned to check the copy process to see the progress like what Java can do on Swing. e.g http://stackoverflow.com/questions/20767241/progress-bar-while-copying-files-with-java

          luciuszhun Edward Wijaya added a comment - Well Jenkins should add this feature. Because in case of stashing/unstashing process for 30 seconds that'd be acceptable, but imagine if it took more than 5 mins and no details on the progress whatsoever.. it'd be scary to put all your bet that the stash is still in progress/stuck.. It all depends on the network stability of your slaves, but it would help a lot by knowing the progress. It is good if we can add something like wget progress bar, it'd help alot, I'm sure a lot of people will agree on this. It can be run as another separate thread spawned to check the copy process to see the progress like what Java can do on Swing. e.g http://stackoverflow.com/questions/20767241/progress-bar-while-copying-files-with-java
          jglick Jesse Glick made changes -
          Field Original Value New Value
          Summary [WORKFLOW] Progress Bar when stash/unstashing files in Workflow Progress Bar when stashing/unstashing files
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 167964 ] JNJira + In-Review [ 182916 ]
          abayer Andrew Bayer made changes -
          Component/s pipeline-general [ 21692 ]
          abayer Andrew Bayer made changes -
          Component/s workflow-plugin [ 18820 ]
          jglick Jesse Glick made changes -
          Component/s core [ 15593 ]
          Component/s workflow-api-plugin [ 21711 ]
          Component/s pipeline [ 21692 ]

          People

            jglick Jesse Glick
            luciuszhun Edward Wijaya
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: