aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/pre-fetch/pre-fetch.yaml
blob: d5e31075f5959965ad6361a9880be43bdbabf645 (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
---
- project:
    name: pre-fetch-mirror
    jobs:
      - pre-fetch-mirror-weekly

- job-template:
    name: 'pre-fetch-mirror-weekly'
    project-type: freestyle
    concurrent: false
    node: agl-test-slave

    build-discarder:
      days-to-keep: 30
      num-to-keep: 40
      artifact-days-to-keep: -1
      artifact-num-to-keep: 5

    triggers:
      - timed: '@weekly'

    wrappers:
      - agl-infra-wrappers:
          build-timeout: '{build-timeout}'

    builders:
      - shell:
          !include-raw-escape: include-prefetch.sh
      - shell:
          !include-raw-escape: include-rsync-prefetch.sh
      - conditional-step:
          condition-kind: always
          steps:
              - shell:
                  !include-raw-escape:
                  - ../common/include-agl-get-cost.sh