Merge lp:~adam-collard/ols-jenkaas/nightly-snapstore-builds into lp:~ols-jenkaas-admins/ols-jenkaas/trunk

Proposed by Adam Collard
Status: Merged
Merged at revision: 600
Proposed branch: lp:~adam-collard/ols-jenkaas/nightly-snapstore-builds
Merge into: lp:~ols-jenkaas-admins/ols-jenkaas/trunk
Diff against target: 39 lines (+10/-3)
1 file modified
jobs/project-junit.yaml (+10/-3)
To merge this branch: bzr merge lp:~adam-collard/ols-jenkaas/nightly-snapstore-builds
Reviewer Review Type Date Requested Status
Guillermo Gonzalez Approve
Review via email: mp+354760@code.launchpad.net

Commit message

Add nightly builds with notification on failure for junit jobs (snapstore-snap in particular, but will also cover SCA)

To post a comment you must log in.
Revision history for this message
Guillermo Gonzalez (verterok) wrote :

LGTM!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'jobs/project-junit.yaml'
2--- jobs/project-junit.yaml 2018-04-18 14:32:56 +0000
3+++ jobs/project-junit.yaml 2018-09-12 10:53:18 +0000
4@@ -2,7 +2,7 @@
5 name: 'land-{name}-junit'
6 jobs:
7 - 'trigger-{name}-junit'
8- - '{name}-junit-landing-tests'
9+ - '{name}-junit-nightly-tests'
10 - '{name}-junit'
11
12 # Land proposals on projects's trunk
13@@ -25,10 +25,12 @@
14 days-to-keep: 1
15
16 - job-template:
17- name: '{name}-junit-landing-tests'
18- description: "Run the landing tests for {name} (but do not land). Useful to ensure tests don't regress on trunk"
19+ name: '{name}-junit-nightly-tests'
20+ description: "Run the nightly tests for {name} (but do not land). Useful to ensure tests don't regress on trunk"
21 defaults: project
22 project-type: freestyle
23+ triggers:
24+ - timed: '@daily'
25 builders:
26 - wipe-workspace
27 - shell: annotate-output ~/jenkaas/project/run-tests {vcs} {trunk} {container} '{setup}' '{landing-tests}' {workdir}
28@@ -39,6 +41,11 @@
29 - archive:
30 artifacts: '{junit_xml_path}'
31 allow-empty: true
32+ - ircbot:
33+ strategy: any-failure
34+ message-type: summary-scm-fail
35+ channels:
36+ - name: '#snapstore'
37
38 - job-template:
39 name: '{name}-junit'

Subscribers

People subscribed via source and target branches