artifacts are not listed on a job page whilst a job is in progress

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      the artifacts overview on an in pipeline run is not shown until after the build has completed.

      the artifacts are present and you can manually go to $BUILD_URL/artifact/ to get the list but the summary page of the build has no link or overview of them

      Steps to reproduce.

      Create a pipeline like the following

      pipeline {
      
        agent {
          any
          }
        }
          
          stages {
              stage('say hello') {
                  steps {
                      sh "echo hello > blah.txt"
                      archive 'blah.txt'
                      input "do you want to proceed"
                  }
              }
          }
      }
      

      kick the build of but do not accept the input.
      go the the build and notice the artifact overview is not present.
      go to $BUILD_URL/artifact and notice the artifacts are listed.

      accept the input stage and then validate the artifacts are showing in the build overvew

            Assignee:
            Unassigned
            Reporter:
            James Nord
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: