diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2019-12-27 19:26:36 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2019-12-27 11:53:22 +0000 |
commit | aad91be67a81cfaf1c1d0a70dea306d65b88c79f (patch) | |
tree | edced2599e5aa58e03a179ebec64feffc0277cc9 /trigger-lkft-hikey-stable.yaml | |
parent | 7d240c87ca58aba879958be3bc0b12c16319f37d (diff) |
lkft: update the trigger build name to have git describe info
for hikey stable kernel triggeres, and the android-mailine trigger build
Change-Id: I8d1b36f4a354ffb6d02ac0b6e267bb9eda977680
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Diffstat (limited to 'trigger-lkft-hikey-stable.yaml')
-rw-r--r-- | trigger-lkft-hikey-stable.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/trigger-lkft-hikey-stable.yaml b/trigger-lkft-hikey-stable.yaml index 6c960a28..9f1b1c18 100644 --- a/trigger-lkft-hikey-stable.yaml +++ b/trigger-lkft-hikey-stable.yaml @@ -40,12 +40,14 @@ wrappers: - timestamps - build-name: - name: '#${BUILD_NUMBER}-${GIT_BRANCH}-${GIT_REVISION,length=8}' + name: '#${BUILD_NUMBER}-${PROPFILE,file="properties.txt",property="KERNEL_BRANCH"}-${PROPFILE,file="properties.txt",property="KERNEL_DESCRIBE"}' builders: - shell: | #!/bin/bash -ex git clean -fdx env + echo KERNEL_DESCRIBE=$(git describe --always) > properties.txt + echo KERNEL_BRANCH=$(echo $GIT_BRANCH|sed s,hikey-stable/,,) >> properties.txt params=$(echo $GIT_BRANCH|sed s,hikey-stable/,lkft-,).txt echo KERNEL_DESCRIBE=$(git describe --always) >> $params echo SRCREV_kernel=${GIT_COMMIT} >> $params |