blob: 962acd7efc0cd342e4b2b406145c3118ad2fc6a2 (
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
|
- job:
name: ci-dockerfile-build-test
project-type: freestyle
defaults: global
properties:
- authorization:
anonymous:
- job-discover
everyone-flat:
- job-read
- job-extended-read
- job-build
- job-cancel
- build-discarder:
days-to-keep: 90
num-to-keep: 200
- build-blocker:
use-build-blocker: true
blocking-jobs:
- "ci-docker.*"
block-level: 'NODE'
disabled: false
display-name: 'Build docker image'
parameters:
- string:
name: image
description: 'docker image to build'
- label:
name: nodelabel
description: 'build machine'
- file:
name: uploadimage
wrappers:
- timestamps
- credentials-binding:
- text:
credential-id: DOCKER_AUTH
variable: DOCKER_AUTH
builders:
- shell: |
#!/bin/bash -e
curl -L -o ${WORKSPACE}/config.json https://ci.linaro.org/userContent/config.json --fail
- shell:
!include-raw: ci-dockerfiles-deployment/build-image-test.sh
publishers:
- email:
recipients: linaro-infrastructure-errors@lists.linaro.org
|