aboutsummaryrefslogtreecommitdiff
path: root/trigger-android-hikey-linaro-4.9-pmwg.yaml
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-10-10 15:17:30 +0530
committerFathi Boudra <fathi.boudra@linaro.org>2017-10-10 19:52:22 +0300
commit94aca3c93caf7cd54f2fd2055efa2d0ba40598e9 (patch)
tree56f2667ace2d68f6aa51bc6d650b07c24c8c39cd /trigger-android-hikey-linaro-4.9-pmwg.yaml
parent43a8c2b4f7628bd4f4a800458c20e6242331055d (diff)
android-hikey-linaro-4.9-pmwg: setup initial job and trigger
Change-Id: I27e62721882bd5f01ac38e1e84dc74769f790f9f Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'trigger-android-hikey-linaro-4.9-pmwg.yaml')
-rw-r--r--trigger-android-hikey-linaro-4.9-pmwg.yaml47
1 files changed, 47 insertions, 0 deletions
diff --git a/trigger-android-hikey-linaro-4.9-pmwg.yaml b/trigger-android-hikey-linaro-4.9-pmwg.yaml
new file mode 100644
index 00000000..6bb1133d
--- /dev/null
+++ b/trigger-android-hikey-linaro-4.9-pmwg.yaml
@@ -0,0 +1,47 @@
+- job:
+ name: trigger-android-hikey-linaro-4.9-pmwg
+ project-type: freestyle
+ defaults: global
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 30
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ parameters:
+ - string:
+ name: KERNEL_BRANCH
+ default: 'android-hikey-linaro-4.9-pmwg'
+ disabled: false
+ node: master
+ display-name: 'Trigger for PMWG Android on HiKey'
+ scm:
+ - git:
+ url: https://git.linaro.org/power/android.git
+ refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH}
+ name: origin
+ branches:
+ - origin/${KERNEL_BRANCH}
+ skip-tag: true
+ shallow-clone: false
+ wipe-workspace: false
+ triggers:
+ - pollscm: 'H/5 * * * *'
+ wrappers:
+ - timestamps
+ - build-name:
+ name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
+ builders:
+ - shell: |
+ #!/bin/bash -e
+ echo KERNEL_DESCRIBE=$(git describe --always) > lkft_parameters
+ echo SRCREV_kernel=${GIT_COMMIT} >> lkft_parameters
+ cat lkft_parameters
+ publishers:
+ - trigger-parameterized-builds:
+ - project:
+ - 'android-hikey-linaro-4.9-pmwg'
+ condition: SUCCESS
+ property-file: lkft_parameters