aboutsummaryrefslogtreecommitdiff
path: root/leg-erp-dpdk.yaml
blob: c222209e59fd5ef7cd47d650ad9b58905ecd196c (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
58
59
60
61
62
63
64
65
66
67
- job:
    name: leg-erp-dpdk
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
            linaro:
                - job-read
                - job-extended-read
                - job-build
                - job-cancel
        - build-discarder:
            days-to-keep: 7
            num-to-keep: 7
    disabled: false
    node: docker-jessie-arm64
    display-name: 'LEG ERP DPDK Debian package'
    scm:
        - git:
            url: https://git.linaro.org/leg/sdi/pkg/dpdk.git
            refspec: +refs/heads/17.05.x:refs/remotes/origin/17.05.x
            name: origin
            branches:
                - refs/heads/17.05.x
            skip-tag: true
            clean: true
            disable-submodules: true
            wipe-workspace: false
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
    builders:
        - shell: |
            #!/bin/bash

            set -e

            sudo apt-get update -q
            sudo apt-get install -q -y --no-install-recommends pristine-tar dkms

            TARBALL=dpdk_17.05.1.orig.tar.xz
            pristine-tar checkout $TARBALL
            mv $TARBALL ..

            debuild --no-lintian -uc -us -sa -S

            mv ../dpdk_17* $WORKSPACE

            echo "source=$BUILD_URL/artifact/`find . -name *dsc`" >build-params
            echo "repo=erp-17.08-staging" >>build-params
            echo "appendversion=false" >>build-params


    publishers:
        - archive:
            artifacts: '*.changes, *.dsc, *.gz, *.bz2, *.xz'
            latest-only: true
        - trigger-parameterized-builds:
            - project: build-package
              property-file: build-params
              condition: SUCCESS
        - email:
            recipients: 'marcin.juszkiewicz@linaro.org'