• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core, workflow-api-plugin
    • None
    • Any OS

      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.

          [JENKINS-32352] Progress Bar when stashing/unstashing files

          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.

          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.

          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

          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
            luciuszhun Edward Wijaya
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: