osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/38802?usp=email )
Change subject: jobs/master-builds: archive android-apdu-proxy apk ......................................................................
jobs/master-builds: archive android-apdu-proxy apk
Store the apk after successful run of the android-apdu-proxy job. It can be found by clicking on a job at [1] and then clicking on "default" (since the job is behind a matrix, as all master jobs).
[1]: https://jenkins.osmocom.org/jenkins/job/master-android-apdu-proxy/
Related: OS#6367 Change-Id: If3224da6c4e3fa90fa84abfec4e75efd634a8bfa --- M jobs/master-builds.yml 1 file changed, 7 insertions(+), 3 deletions(-)
Approvals: pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified laforge: Looks good to me, but someone else must approve osmith: Looks good to me, approved
diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml index 3896e67..e37d1d2 100644 --- a/jobs/master-builds.yml +++ b/jobs/master-builds.yml @@ -78,6 +78,7 @@ branch: master ssh: - docs_ftp.osmocom.org + archive_artifacts_on_success: false
# in alphabetical order repos: @@ -93,6 +94,7 @@ -v "$ANDROID_CACHE":/build/.android \ -v "$GRADLE_CACHE":/build/.gradle \ {docker_img_android} {timeout_cmd} contrib/jenkins.sh + archive_artifacts_on_success: true
- asn1c: branch: osmo-iuh/master @@ -677,13 +679,15 @@ - shell: | # Remove workspace on success to free up space. Create an empty dir # so the job does not abort when attempting to collect artifacts. - rm -rf "$WORKSPACE" - mkdir -p "$WORKSPACE" + if [ "{archive_artifacts_on_success}" != "True" ]; then + rm -rf "$WORKSPACE" + mkdir -p "$WORKSPACE" + fi
publishers: - archive: allow-empty: true - artifacts: '**/core, **/testsuite.log, **/workspace.tar.xz' + artifacts: '**/core, **/testsuite.log, **/workspace.tar.xz, **/app-release.apk' - warnings: console-log-parsers: - 'GNU C Compiler 4 (gcc)'