summaryrefslogtreecommitdiffstats
path: root/jjb/lab/lab-templates.yaml
blob: b353440836e8ef606bbaa7885567a2164a0a7190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
- job-template:
    name: 'lab-{job-name}'
    description: '{job-desc}'
    disabled: false
    project-type: freestyle
    build-node: ubuntu1604-basebuild-2c-1g

    properties:
      - lf-infra-properties:
          project: 'integration'
          build-days-to-keep: '{build-days-to-keep}'

    parameters:
      - string:
          name: LOG_DIR_URL
          description: 'URL for the log directory produced by the external job'
      - string:
          name: SRC_BUILD_URL
          description: 'URL for the external Jenkins build triggering this build'

    wrappers:
      - lf-infra-wrappers:
          build-timeout: '{build-timeout}'
          jenkins-ssh-credential: '{jenkins-ssh-credential}'

    builders:
      - shell:
          !include-raw:
          - include-raw-lab-retrieve-logs.sh

    publishers:
      - integration-robot:
          unstable-if: 75.0
          pass-if: 100.0
      - lf-infra-publish