aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tcwg-buildapp.yaml64
1 files changed, 64 insertions, 0 deletions
diff --git a/tcwg-buildapp.yaml b/tcwg-buildapp.yaml
new file mode 100644
index 0000000000..b73830c68f
--- /dev/null
+++ b/tcwg-buildapp.yaml
@@ -0,0 +1,64 @@
+- job:
+ name: tcwg-buildapp
+ project-type: matrix
+ defaults: global
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 30
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ linaro:
+ - job-build
+ - job-cancel
+ parameters:
+ - string:
+ name: toolchain_url
+ default: ''
+ description: 'Toolchain URL'
+ disabled: false
+ node: tcwg-x86_64-cam
+ child-workspace: $target
+ concurrent: true
+ display-name: 'TCWG ZZZ BuildApp'
+ scm:
+ - git:
+ url: https://git-us.linaro.org/toolchain/tcwg-buildapp.git
+ refspec: +refs/changes/*:refs/remotes/changes/*
+ wipe-workspace: true
+ axes:
+ - axis:
+ type: slave
+ name: label
+ values:
+ - tcwg-x86_64-cam
+ - axis:
+ type: user-defined
+ name: app
+ values:
+ - gcc
+ - axis:
+ type: user-defined
+ name: target
+ values:
+ - arm-linux-gnueabihf
+
+ execution-strategy:
+ sequential: false
+ wrappers:
+ - timeout:
+ timeout: 600
+ - timestamps
+ - ssh-agent-credentials:
+ # tcwg-buildslave user id
+ users:
+ - 'e0958a95-204f-4c14-a66c-5e2be6c5d50a'
+ - build-name:
+ name: '#${BUILD_NUMBER}'
+ builders:
+ - shell: |
+ #!/bin/bash
+ set -ex
+ ./tcwg-buildapp.sh ${toolchain_url} ${app} ${target}