aboutsummaryrefslogtreecommitdiff
path: root/trigger-lhg-opencdm-sanity-check-rocko.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'trigger-lhg-opencdm-sanity-check-rocko.yaml')
-rw-r--r--trigger-lhg-opencdm-sanity-check-rocko.yaml45
1 files changed, 45 insertions, 0 deletions
diff --git a/trigger-lhg-opencdm-sanity-check-rocko.yaml b/trigger-lhg-opencdm-sanity-check-rocko.yaml
new file mode 100644
index 0000000000..3e5c1737ab
--- /dev/null
+++ b/trigger-lhg-opencdm-sanity-check-rocko.yaml
@@ -0,0 +1,45 @@
+- job:
+ name: trigger-lhg-opencdm-sanity-check-rocko
+ project-type: freestyle
+ defaults: global
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ - build-discarder:
+ days-to-keep: 30
+ num-to-keep: 30
+ - github:
+ url: https://github.com/linaro-mmwg/open-content-decryption-module
+ disabled: false
+ node: master
+ display-name: 'Trigger for LHG opencdm sanity check'
+ scm:
+ - git:
+ url: https://github.com/linaro-mmwg/open-content-decryption-module.git
+ refspec: +refs/pull/*:refs/remotes/origin/pr/*
+ name: origin
+ branches:
+ - ${sha1}
+ skip-tag: true
+ shallow-clone: true
+ wipe-workspace: true
+ triggers:
+ - github-pull-request:
+ github-hooks: true
+ white-list-target-branches:
+ - 'chromium-65.0.3315.0.r527534.igalia'
+ permit-all: true
+ auth-id: 'GITHUB_TOKEN'
+ wrappers:
+ - timestamps
+ builders:
+ - trigger-builds:
+ - project: 'lhg-oe-rocko'
+ - shell: |
+ #!/bin/bash -e
+ echo "#${BUILD_NUMBER}-${ghprbActualCommit:0:8}" > ${WORKSPACE}/version.txt
+ - build-name-setter:
+ name: 'version.txt'
+ file: true