Merge "jjb/releng: fix compass-container $DOCKERFILE"
[releng.git] / jjb-sandbox / releng / releng-sandbox-jobs.yml
1 ---
2 - project:
3     name: 'releng-sandbox-jobs'
4     jobs:
5       - 'releng-deploy-sandbox'
6
7     project: 'releng'
8     node: 'releng-sandbox'
9
10 - job-template:
11     name: 'releng-deploy-sandbox'
12     node: '{node}'
13
14     parameters:
15       - project-parameter:
16           project: '{project}'
17           branch: 'master'
18     scm:
19       - git-scm-gerrit
20
21     triggers:
22       - gerrit:
23           trigger-on:
24             - patchset-created-event:
25                 exclude-drafts: 'false'
26                 exclude-trivial-rebase: 'false'
27                 exclude-no-code-change: 'false'
28             - draft-published-event
29             - comment-added-contains-event:
30                 comment-contains-value: 'redeploy'
31           custom-url: '$BUILD_URL deploying to $JENKINS_URL'
32           silent-start: true
33           skip-vote:
34             successful: true
35             failed: true
36             unstable: true
37             notbuilt: true
38           projects:
39             - project-compare-type: 'ANT'
40               project-pattern: 'releng'
41               branches:
42                 - branch-compare-type: 'ANT'
43                   branch-pattern: '**/master'
44               file-paths:
45                 - compare-type: ANT
46                   pattern: jjb-sandbox/**
47
48     wrappers: ''
49
50     builders:
51       - shell:
52           !include-raw-escape: verify-sandbox-jobs.sh
53       # yamllint disable rule:line-length
54       - shell: |
55           #!/bin/bash
56           jenkins-jobs update --delete-old -r jjb/releng-defaults.yaml:jjb/releng-macros.yaml:jjb/opnfv/installer-params.yml:jjb/opnfv/slave-params.yml:jjb-sandbox
57       # yamllint enable
58     publishers:
59       - archive-artifacts:
60           artifacts: 'job_output/*'
61       - email-jenkins-admins-on-failure