aboutsummaryrefslogtreecommitdiff
path: root/armlt-platforms.yaml
blob: 456e5f0e6bb69248faf7d25dd5fa2a9477f9f0bb (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
57
- job:
    name: armlt-platforms
    project-type: freestyle
    defaults: global
    logrotate:
        daysToKeep: 30
        numToKeep: 30
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            linaro:
                - job-read
                - job-extended-read
                - job-build
                - job-cancel
    disabled: false
    node: docker-xenial-amd64
    display-name: 'ARM LT - Platforms Master Builds for Versatile Express TC2, FVP AEMv8 and Foundation models and Juno ARM Development Platforms'
    scm:
        - git:
            url: https://git.linaro.org/landing-teams/working/arm/build-scripts.git
            refspec: +refs/heads/ci:refs/remotes/origin/ci
            name: origin
            branches:
                - refs/heads/ci
            basedir: build-scripts
            skip-tag: true
            shallow-clone: true
            clean: true
            wipe-workspace: false
    wrappers:
        - timestamps
    builders:
        - linaro-publish-token
        - shell: |
            #!/bin/bash

            sudo apt-get update
            sudo apt-get install -y --no-install-recommends python-requests

            bash build-scripts/platforms-ci.sh snapshot

            mkdir out
            mv *.zip MD5SUMS out/

            # Publish to snapshots
            test -d ${HOME}/bin || mkdir ${HOME}/bin
            wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
            time python ${HOME}/bin/linaro-cp.py \
              --api_version 3 \
              --link-latest \
              out member-builds/armlt-platforms/${BUILD_NUMBER}
    publishers:
        - email:
            recipients: 'ryan.harkin@linaro.org'