aboutsummaryrefslogtreecommitdiff
path: root/jenkins/bisect.jpl
diff options
context:
space:
mode:
authorGuillaume Tucker <guillaume.tucker@collabora.com>2019-01-25 10:06:08 +0000
committerGuillaume Tucker <guillaume.tucker@collabora.com>2019-02-14 15:08:39 +0000
commit0facc1d6ee119e5bcca040da85fb2a9fd20dc9ba (patch)
tree4a707d061c4224d32cdef26fc2fe9b014a83a73b /jenkins/bisect.jpl
parent8cb19ea81a3c6e8ff1e788023616b80b17f9fbc7 (diff)
bisect.jpl: use build environment
Add the BUILD_ENVIRONMENT parameter to the build and bisection meta-data as well as the bisection email reports. This is necessary in order to distinguish bisections run with different compilers in the backend, the compiler version meta-data itself is not used for this purpose. Also show the compiler version when the job starts, like for build jobs. Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Diffstat (limited to 'jenkins/bisect.jpl')
-rw-r--r--jenkins/bisect.jpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/jenkins/bisect.jpl b/jenkins/bisect.jpl
index 55bc24c..4c4bbd9 100644
--- a/jenkins/bisect.jpl
+++ b/jenkins/bisect.jpl
@@ -53,6 +53,8 @@ CC (gcc)
Name of the compiler
CC_VERSION (7)
Version of the compiler
+BUILD_ENVIRONMENT
+ Name of the build environment
LAB
Name of the lab in which to run the bisection tests
PLAN (boot)
@@ -227,6 +229,7 @@ ARCH=${params.ARCH} \
BRANCH=${params.KERNEL_BRANCH} \
""" + kci_core + """/build.py -e -g -i \
-J ${env._BUILD_JSON} \
+-E ${params.BUILD_ENVIRONMENT} \
-c ${params.DEFCONFIG}""")
}
stash(name: env._BUILD_JSON, includes: env._BUILD_JSON)
@@ -425,6 +428,7 @@ PYTHON_EGG_CACHE=${egg_cache} \
--lab=${params.LAB} \
--arch=${params.ARCH} \
--defconfig=${params.DEFCONFIG} \
+--build-environment=${params.BUILD_ENVIRONMENT} \
--target=${params.TARGET} \
--tree=${params.KERNEL_TREE} \
--kernel=${params.KERNEL_NAME} \
@@ -607,6 +611,7 @@ node("docker && bisection") {
Target: ${params.TARGET}
Lab: ${params.LAB}
Defconfig: ${params.DEFCONFIG}
+ Compiler: ${params.CC} ${params.CC_VERSION}
Plan: ${params.PLAN}"""
print("""\
Good: ${params.GOOD_COMMIT}