Fix rtd merge job to handle new tag uploaded
[releng/global-jjb.git] / jjb / lf-release-management-jobs.yaml
1 ---
2 ####################
3 # Release Announce #
4 ####################
5
6 - lf_release_announce: &lf_release_announce
7     name: lf-release-announce
8
9     ######################
10     # Default parameters #
11     ######################
12
13     build-days-to-keep: 7
14     build-timeout: 15
15     disable-job: false
16
17     #####################
18     # Job Configuration #
19     #####################
20
21     project-type: freestyle
22     node: "{build-node}"
23     disabled: "{disable-job}"
24
25     properties:
26       - lf-infra-properties:
27           build-days-to-keep: "{build-days-to-keep}"
28
29     builders:
30       - shell: !include-raw-escape: ../shell/release-announce.sh
31
32     wrappers:
33       - lf-infra-wrappers:
34           build-timeout: "{build-timeout}"
35           jenkins-ssh-credential: "{jenkins-ssh-credential}"
36
37     publishers:
38       - lf-infra-publish
39
40 - job-template:
41     name: "{project-name}-release-announce"
42     id: gerrit-release-announce
43     <<: *lf_release_announce
44
45     triggers:
46       - gerrit:
47           server-name: "{gerrit-server-name}"
48           trigger-on:
49             - ref-updated-event
50           projects:
51             - project-compare-type: "ANT"
52               project-pattern: "{project-pattern}"
53               branches:
54                 - branch-compare-type: "ANT"
55                   branch-pattern: "refs/tags/**"