Merge ~morphis/snappy-hwe-snaps/+git/jenkins-jobs:f/snap-docs-fixes into ~snappy-hwe-team/snappy-hwe-snaps/+git/jenkins-jobs:master

Proposed by Simon Fels
Status: Merged
Approved by: Konrad Zapałowicz
Approved revision: 60702035bfc00c44b405e278f7ddf5a6c123fc05
Merged at revision: 60702035bfc00c44b405e278f7ddf5a6c123fc05
Proposed branch: ~morphis/snappy-hwe-snaps/+git/jenkins-jobs:f/snap-docs-fixes
Merge into: ~snappy-hwe-team/snappy-hwe-snaps/+git/jenkins-jobs:master
Diff against target: 13 lines (+1/-1)
1 file modified
jobs/snap/ (+1/-1)
Reviewer Review Type Date Requested Status
Konrad Zapałowicz (community) continuous-integration Approve
Review via email:

Description of the change

snap: check for metadata.yaml file before invoking documentation-builder

This detect trees we can't build properly.

To post a comment you must log in.
Revision history for this message
Konrad Zapałowicz (kzapalowicz) wrote :


review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/jobs/snap/ b/jobs/snap/
2index 4f7e186..a8c42b3 100644
3--- a/jobs/snap/
4+++ b/jobs/snap/
5@@ -19,7 +19,7 @@ set -ex
6 . "$WORKSPACE/.build_env"
9-if [ ! -e $WORKSPACE/src/docs ]; then
10+if [ ! -e "$WORKSPACE/src/docs/metadata.yaml" ]; then
11 echo "WARNING: repository does not contain any documentation we can build. Aborting."
12 exit 0
13 fi


People subscribed via source and target branches

to all changes: