-
Bug
-
Resolution: Duplicate
-
Major
-
2.46.1
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)