Merge ~morphis/snappy-hwe-snaps/+git/jenkins-jobs:f/archive-images into ~snappy-hwe-team/snappy-hwe-snaps/+git/jenkins-jobs:master

Proposed by Simon Fels
Status: Merged
Approved by: Konrad Zapałowicz
Approved revision: 7b120e28f8d533b2e49f02c1eb24a4733e251291
Merged at revision: bf73361f4b2f37e16781e41b040605381b1dad96
Proposed branch: ~morphis/snappy-hwe-snaps/+git/jenkins-jobs:f/archive-images
Merge into: ~snappy-hwe-team/snappy-hwe-snaps/+git/jenkins-jobs:master
Diff against target: 44 lines (+10/-3)
3 files modified
jobs/image/image-build-worker.sh (+1/-3)
jobs/image/image-build-worker.yaml (+6/-0)
local.yaml (+3/-0)
Reviewer Review Type Date Requested Status
Konrad Zapałowicz (community) code Approve
System Enablement Bot continuous-integration Approve
Review via email: mp+328972@code.launchpad.net

Description of the change

Archive image artifacts after a build

To post a comment you must log in.
Revision history for this message
System Enablement Bot (system-enablement-ci-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Konrad Zapałowicz (kzapalowicz) wrote :

ack

review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/jobs/image/image-build-worker.sh b/jobs/image/image-build-worker.sh
index 161c5e4..c6cd784 100644
--- a/jobs/image/image-build-worker.sh
+++ b/jobs/image/image-build-worker.sh
@@ -19,9 +19,7 @@ set -ex
19. "$WORKSPACE/.build_env"19. "$WORKSPACE/.build_env"
2020
21rm -rf "$WORKSPACE"/image-builds21rm -rf "$WORKSPACE"/image-builds
22
23git clone git+ssh://git.launchpad.net/~$LAUNCHPAD_TEAM/$LAUNCHPAD_PROJECT/+git/image-builds22git clone git+ssh://git.launchpad.net/~$LAUNCHPAD_TEAM/$LAUNCHPAD_PROJECT/+git/image-builds
24cd image-builds23cd image-builds
2524
26# Project specific image build process25./build.sh --output-dir=$WORKSPACE
27./build.sh
diff --git a/jobs/image/image-build-worker.yaml b/jobs/image/image-build-worker.yaml
index f34faf3..4a39425 100644
--- a/jobs/image/image-build-worker.yaml
+++ b/jobs/image/image-build-worker.yaml
@@ -13,3 +13,9 @@
13 - shell:13 - shell:
14 !include-raw-escape:14 !include-raw-escape:
15 - image-build-worker.sh15 - image-build-worker.sh
16 publishers:
17 - archive:
18 artifacts: '{image_artifacts}'
19 allow-empty: 'true'
20 fingerprint: true
21 default-excludes: false
16\ No newline at end of file22\ No newline at end of file
diff --git a/local.yaml b/local.yaml
index 4de3a0c..9c7357b 100644
--- a/local.yaml
+++ b/local.yaml
@@ -55,6 +55,9 @@
5555
56 base_snap_repo_url: 'https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git'56 base_snap_repo_url: 'https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git'
5757
58 # Path specifier for artifacts to archive
59 image_artifacts: '*.tar.gz'
60
58 jobs:61 jobs:
59 - snap-project-jobs62 - snap-project-jobs
60 - image-project-jobs63 - image-project-jobs

Subscribers

People subscribed via source and target branches

to all changes: