aboutsummaryrefslogtreecommitdiff
path: root/trigger-lkft-android-common-presubmit.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'trigger-lkft-android-common-presubmit.yaml')
-rw-r--r--trigger-lkft-android-common-presubmit.yaml70
1 files changed, 0 insertions, 70 deletions
diff --git a/trigger-lkft-android-common-presubmit.yaml b/trigger-lkft-android-common-presubmit.yaml
deleted file mode 100644
index d0fa415d7e..0000000000
--- a/trigger-lkft-android-common-presubmit.yaml
+++ /dev/null
@@ -1,70 +0,0 @@
-- job:
- name: trigger-lkft-android-common-presubmit
- project-type: freestyle
- defaults: global
- properties:
- - authorization:
- anonymous:
- - job-read
- - job-extended-read
- linaro:
- - job-build
- - job-cancel
- - build-discarder:
- days-to-keep: 180
- num-to-keep: 150
- disabled: false
- node: triggers
- display-name: 'Trigger for the cts presubmit test'
- scm:
- - git:
- remotes:
- - android-common:
- url: https://android.googlesource.com/kernel/common
- branches:
- # needs to update the following configs:
- # lkft-android-common-gateway.yaml
- # lkft-gki-kernel.yaml
- - android-common/android11-5.4
- - android-common/android12-5.4
- - android-common/android12-5.10
- - android-common/android13-5.10
- skip-tag: true
- shallow-clone: false
- wipe-workspace: false
- triggers:
- - pollscm:
- cron: 'H H * * 6'
- wrappers:
- - timestamps
- - build-name:
- name: '#${BUILD_NUMBER}-${PROPFILE,file="properties.txt",property="KERNEL_DESCRIBE"}-${GIT_BRANCH#android-common/}'
- builders:
- - shell: |
- #!/bin/bash -ex
- git clean -fdx
- env
-
- KERNEL_BRANCH_REAL="${GIT_BRANCH#android-common/}"
- MAKE_KERNELVERSION="$(make kernelversion)"
- KERNEL_BRANCH="${KERNEL_BRANCH_REAL}-presubmit"
- KERNEL_DESCRIBE="${MAKE_KERNELVERSION}-${GIT_COMMIT:0:12}-$(date +%Y%m%d%H%M)"
-
- echo "KERNEL_DESCRIBE=${KERNEL_DESCRIBE}" > "properties.txt"
- echo "KERNEL_BRANCH=${KERNEL_BRANCH}" >> "properties.txt"
-
- params="lkft-parameters.txt"
- echo "KERNEL_DESCRIBE=${KERNEL_DESCRIBE}" >> "${params}"
- echo "SRCREV_kernel=${GIT_COMMIT}" >> "${params}"
- echo "MAKE_KERNELVERSION=${MAKE_KERNELVERSION}" >> "${params}"
- echo "KERNEL_BRANCH=${KERNEL_BRANCH}" >> "${params}"
- echo "CALLER_JOB_NAME=${JOB_NAME}" >> "${params}"
- echo "CALLER_BUILD_NUMBER=${BUILD_NUMBER}" >> "${params}"
- cat "${params}"
-
- - trigger-builds:
- - project: lkft-android-common-gateway
- property-file: lkft-parameters.txt
- publishers:
- - email:
- recipients: 'lkft-maintainers@lists.linaro.org'