blob: 39c31328ba312c5ed39a74b27406678eb185e7c1 (
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
|
- job:
name: build-ofp-odp-dpdk-deb
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:
num-to-keep: 30
days-to-keep: 30
artifact-num-to-keep: 1
disabled: false
node: docker-jessie-arm64
display-name: 'Build debian source for openfastpath.org built against ODP-DPDKs impl.'
scm:
- git:
url: https://git.linaro.org/people/anders.roxell/ofp-packaging.git
refspec: +refs/heads/dpdk:refs/remotes/origin/dpdk
name: origin
branches:
- refs/heads/dpdk
basedir: ofp-packaging
skip-tag: true
shallow-clone: false
wipe-workspace: false
wrappers:
- timestamps
- build-name:
name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
- timeout:
timeout: 20
builders:
- shell: |
#!/bin/bash
set -e
wget -O - http://obs.linaro.org/ODP:Staging/Debian_8/Release.key|sudo apt-key add -
echo "deb http://obs.linaro.org/ODP:Staging/Debian_8/ ./"|sudo tee /etc/apt/sources.list.d/obs.list
sudo apt-get update
sudo apt-get install --no-install-recommends -q -y dh-autoreconf libcunit1-dev libpcap-dev libodphelper-linux-dev libdpdk-dev libodp-dpdk-dev doxygen ghostscript texlive-latex-recommended g++ pkg-config
cd ofp-packaging; bash -x ./build-deb-package
cat > ${WORKSPACE}/ofp-params <<EOF
source=${BUILD_URL}/artifact/$(echo *.dsc)
repo=ODP:Staging
EOF
mv *.dsc *.gz *.xz ${WORKSPACE}/
publishers:
- archive:
artifacts: '*.dsc, *.gz, *.xz'
- trigger-parameterized-builds:
- project: build-package-obs
property-file: ofp-params
condition: SUCCESS
- email:
recipients: 'anders.roxell@linaro.org fathi.boudra@linaro.org'
|