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

Artifacts shown only after all nodes finished

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We use Jenkins to build Android project. Using blueocean and pipeline (Jenkinsfile).

      stage('Update Android SDK') {
       node {
         ...
       }
      }
      stage('Build') {
       node {
        // this process take about 3 minutes
        //tell Jenkins to archive the apks
        archiveArtifacts artifacts: 'mobile/build/outputs/apk/*.apk', fingerprint: true
        // we need to archive artifact in this step, because next step take too long time
       }
      }
      stage('Quality') {
       node {
        // static code analyssis, lint, ...
        // this process take more than 10 minutes
        archiveArtifacts artifacts: '**/mobile/build/reports/lint/lint-results.html', fingerprint: true
       }
      }
      

       Problem is, that in stage Build should Jenkins archive artifacts (apks) and show them in https://jenkins.company.com/blue/organizations/jenkins/AndroidMulti/detail/develop/165/artifacts

      But the artifact is shown only after all stages are finished or after manual stop building project. All processes are terminated. It show too. But we need to show artifacts after stage Building and after continue building (testing, analyze code, etc)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mtrakal Matej Trakal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: