Merge " '{testname}' isn't passed into the job title"
[releng.git] / jjb-sandbox / releng / releng-sandbox-jobs.yml
1 - project:
2     name: 'releng-sandbox-jobs'
3     jobs:
4         - 'releng-deploy-sandbox'
5
6     project: 'releng'
7     node: 'releng-sandbox'
8
9 - job-template:
10     name: 'releng-deploy-sandbox'
11     node: '{node}'
12
13     parameters:
14         - project-parameter:
15             project: '{project}'
16         - gerrit-parameter:
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         - shell: |
54             #!/bin/bash
55             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
56
57     publishers:
58         - archive-artifacts:
59             artifacts: 'job_output/*'