aboutsummaryrefslogtreecommitdiff
path: root/rpb-kernel-enterprise.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2016-08-17 20:41:16 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2016-08-17 20:41:16 +0300
commitf225d31e6a6f77460ce8b2158bf12fc2f2e56472 (patch)
treedde6619fdc47ba0d85ce1357976549d71cc6273e /rpb-kernel-enterprise.yaml
parente75af9e32cb6da8c4b467c64eca9b1ece0199de3 (diff)
rpb-kernel-entreprise: use scm git plugin env variables when possible
Change-Id: I27304f28b2589495d284dbb0e4dba5b6cf67c4fc Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'rpb-kernel-enterprise.yaml')
-rw-r--r--rpb-kernel-enterprise.yaml19
1 files changed, 9 insertions, 10 deletions
diff --git a/rpb-kernel-enterprise.yaml b/rpb-kernel-enterprise.yaml
index 7c507cbaad..934139ead5 100644
--- a/rpb-kernel-enterprise.yaml
+++ b/rpb-kernel-enterprise.yaml
@@ -63,7 +63,6 @@
kernel_version=$(make kernelversion)
kernel_deb_pkg_version=$(echo ${kernel_version} | sed -e 's/\.0-rc/~rc/')
- export KERNEL_GIT_VERSION=$(git log --format="%H" -1)
export KDEB_PKGVERSION="${kernel_deb_pkg_version}.linaro.${BUILD_NUMBER}-1"
git tag v${kernel_deb_pkg_version//\~/-}
@@ -80,9 +79,9 @@
linux ($KDEB_PKGVERSION) unstable; urgency=medium
* Auto build:
- - URL: ${KERNEL_GIT_URL}
- - Branch: ${KERNEL_GIT_BRANCH}
- - Hash: ${KERNEL_GIT_VERSION}
+ - URL: ${GIT_URL}
+ - Branch: ${GIT_BRANCH}
+ - Commit: ${GIT_COMMIT}
-- Fathi Boudra <fathi.boudra@linaro.org> $(date -R)
@@ -165,12 +164,12 @@
Linux Kernel build consumed by the Reference Platform Enterprise Builds
Build Description:
- * Build URL: "$BUILD_URL":$BUILD_URL
- * Git tree: "$KERNEL_GIT_URL":$KERNEL_GIT_URL
- * Git branch: $KERNEL_GIT_BRANCH
- * Git hash: $KERNEL_GIT_VERSION
- * Kernel version: $kernel_version
- * Kernel deb version: $KDEB_PKGVERSION
+ * Build URL: "${BUILD_URL}":${BUILD_URL}
+ * Git tree: "${GIT_URL}":${GIT_URL}
+ * Git branch: ${GIT_BRANCH}
+ * Git commit: ${GIT_COMMIT}
+ * Kernel version: ${kernel_version}
+ * Kernel deb version: ${KDEB_PKGVERSION}
* Kernel rpm version: ${rpmversion}-reference.${BUILD_NUMBER}
EOF