aboutsummaryrefslogtreecommitdiff
path: root/tcwg-lnt-run-spec-codesize.yaml
blob: 267f584d39ea573c855bdc969cb2cb8a717d9e87 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
- job:
    name: tcwg-lnt-run-spec-codesize
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            everyone-flat:
                - job-build
                - job-cancel
        - build-discarder:
            days-to-keep: 30
            num-to-keep: 30
    disabled: false
    node: tcwg-jade-03
    display-name: 'TCWG LNT test spec codesize'
    concurrent: false
    parameters:
      - string:
          name: llvm_rev
          default: ''
          description: 'llvm revision'
    triggers:
      - timed: '@daily'
    wrappers:
      - timestamps
      - ssh-agent-credentials:
          # tcwg-buildslave user id
          users:
              - 'e0958a95-204f-4c14-a66c-5e2be6c5d50a'
    builders:
        - shell: |
            #!/usr/bin/env bash
            set -ex

            [ -d "scripts" ] \
              || git clone https://git.linaro.org/people/antoine.moynault/scripts.git

            (
              cd scripts
              git fetch origin master
              git checkout FETCH_HEAD
            )

            [ -d "jenkins-scripts" ] \
              || git clone https://git.linaro.org/toolchain/jenkins-scripts.git

            (
              cd jenkins-scripts
              git fetch origin master
              git checkout FETCH_HEAD
            )

            ./jenkins-scripts/docker-run.sh --distro jammy -- ./scripts/lnt-run-spec-codesize.sh