Refactor: Cleanup for pre-commit
[ci-management.git] / jjb / lab / lab-templates.yaml
1 ---
2 - job-template:
3       name: "lab-{job-name}"
4       description: "{job-desc}"
5       disabled: false
6       project-type: freestyle
7       build-node: ubuntu1804-builder-4c-4g
8
9       properties:
10           - lf-infra-properties:
11                 project: "integration"
12                 build-days-to-keep: "{build-days-to-keep}"
13
14       parameters:
15           - string:
16                 name: LOG_DIR_URL
17                 description: "URL for the log directory produced by the external job"
18           - string:
19                 name: SRC_BUILD_URL
20                 description: "URL for the external Jenkins build triggering this build"
21
22       wrappers:
23           - lf-infra-wrappers:
24                 build-timeout: "{build-timeout}"
25                 jenkins-ssh-credential: "{jenkins-ssh-credential}"
26
27       builders:
28           - shell: !include-raw:
29                 - include-raw-lab-retrieve-logs.sh
30
31       publishers:
32           - integration-robot:
33                 unstable-if: 60.0
34                 pass-if: 100.0
35           - lf-infra-publish