blob: 9dab92388b9326d006158f50fce94598e50c254e [file] [log] [blame]
Fathi Boudra23d76e02015-10-16 14:14:00 +03001- job:
2 name: armlt-platforms-release
3 project-type: freestyle
4 defaults: global
5 logrotate:
6 daysToKeep: 30
7 numToKeep: 30
8 properties:
9 - authorization:
10 anonymous:
11 - job-read
12 - job-extended-read
Benjamin Copeland9dc2eb82022-10-11 12:40:33 +010013 everyone-flat:
Fathi Boudra23d76e02015-10-16 14:14:00 +030014 - job-read
15 - job-extended-read
16 - job-build
17 - job-cancel
Fathi Boudra37df6c52017-11-03 12:19:45 +020018 linaro-landing-team-arm:
Ryan Harkin46920372017-09-04 15:13:02 +010019 - job-read
20 - job-extended-read
21 - job-build
22 - job-cancel
Fathi Boudra23d76e02015-10-16 14:14:00 +030023 disabled: false
Riku Voipio271461a2016-11-25 21:12:48 +020024 node: docker-xenial-amd64
Vishal Bhoj533a5fa2019-10-18 20:57:26 +053025 display-name: 'ARM LT - Platforms Release Builds for Versatile Express TC2, FVP AEMv8 and Foundation models and Juno ARM Development Platforms '
Fathi Boudra23d76e02015-10-16 14:14:00 +030026 scm:
27 - git:
28 url: https://git.linaro.org/landing-teams/working/arm/build-scripts.git
29 refspec: +refs/heads/ci:refs/remotes/origin/ci
30 name: origin
31 branches:
32 - refs/heads/ci
33 basedir: build-scripts
34 skip-tag: true
35 shallow-clone: true
36 clean: true
37 wipe-workspace: false
38 wrappers:
39 - timestamps
Vishal Bhoj70e603f2019-10-21 17:22:01 +053040 parameters:
41 - bool:
42 name: CURRENT_MONTH
43 default: false
44 description: "Select if the release is for current month"
45 - bool:
46 name: PINNED_ACK
47 default: false
48 description: "Select to build and generate bundles for manifest 'pinned-ack.xml'"
49 - bool:
50 name: PINNED_LATEST
51 default: false
52 description: "Select to build and generate bundles for manifest 'pinned-latest.xml'"
53 - bool:
54 name: PINNED_UEFI
55 default: false
56 description: "Select to build and generate bundles for manifest 'pinned-uefi.xml'"
57 - bool:
58 name: PINNED_JUNO
59 default: false
60 description: "Select to build and generate bundles for manifest 'pinned-juno.xml'"
61 - bool:
62 name: PINNED_SGI575
63 default: false
64 description: "Select to build and generate bundles for manifest 'pinned-sgi575.xml'"
65 - bool:
66 name: PINNED_SGM775
67 default: false
68 description: "Select to build and generate bundles for manifest 'pinned-sgm775.xml'"
69 - bool:
70 name: PINNED_SGM775_ANDROID
71 default: false
72 description: "Select to build and generate bundles for manifest 'pinned-sgm775-android.xml'"
Fathi Boudra23d76e02015-10-16 14:14:00 +030073 builders:
Fathi Boudra23d76e02015-10-16 14:14:00 +030074 - shell: |
75 #!/bin/bash
76
Fathi Boudra74eb46a2015-10-16 17:06:34 +030077 sudo apt-get update
Vishal Bhoje59208c2019-10-21 19:54:12 +053078 export LC_ALL=C
79 sudo apt-get install -y --no-install-recommends python-requests libssl-dev libopts25-dev flex automake pkg-config gettext autopoint
Fathi Boudra74eb46a2015-10-16 17:06:34 +030080
Ryan Harkincb90a3a2016-02-22 16:41:17 +000081 bash build-scripts/platforms-ci.sh release
Vishal Bhoja1b7e992019-07-08 09:39:21 +053082 - linaro-publish-token
83 - shell: |
84 #!/bin/bash
Fathi Boudra23d76e02015-10-16 14:14:00 +030085 # Publish to snapshots
86 test -d ${HOME}/bin || mkdir ${HOME}/bin
87 wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
Benjamin Copeland6f81d052019-11-05 14:45:47 +000088 time python3 ${HOME}/bin/linaro-cp.py \
Ben Copeland3c1076f2016-03-01 12:38:41 +000089 --api_version 3 \
Fathi Boudra23d76e02015-10-16 14:14:00 +030090 --link-latest \
91 out member-builds/armlt-platforms-release/${BUILD_NUMBER}/
92 publishers:
93 - email:
Ryan Harkin41c9fad2019-10-22 14:18:56 +010094 recipients: 'arvind.chauhan@arm.com'