diff options
author | Guillaume Tucker <guillaume.tucker@collabora.com> | 2018-02-14 21:30:03 +0000 |
---|---|---|
committer | Guillaume Tucker <guillaume.tucker@collabora.com> | 2018-02-19 12:12:53 +0000 |
commit | f4b126637114b1067c88d31ff19a982ee82b9f35 (patch) | |
tree | d63b46f05f9bba3445aee547ad8ef9117a2d34ce /jenkins/bisect.jpl | |
parent | 2d1119b6f6a1f0ba2075e83861824ea931d1ab8e (diff) |
bisect.py: fix TREE environment variable when calling build.py
The build.py script expects the Git URL to be passed in the TREE
environment variable, or read from the kernel Git repository. If the
repository doesn't have a remote called "origin", or if this remore
does not correspond to the one the current branch is coming from, then
the git_url is set wrongly in the build meta-data.
Fix this by setting the tree URL with the TREE environment variable
when calling the build.py script.
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Diffstat (limited to 'jenkins/bisect.jpl')
-rw-r--r-- | jenkins/bisect.jpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jenkins/bisect.jpl b/jenkins/bisect.jpl index 774ae10..aa66403 100644 --- a/jenkins/bisect.jpl +++ b/jenkins/bisect.jpl @@ -147,6 +147,7 @@ def buildKernel(kdir, kci_build) { API=${params.API} \ TOKEN=${SECRET} \ TREE_NAME=${params.TREE} \ +TREE=${params.KERNEL_URL} \ ARCH=${params.ARCH} \ BRANCH=${params.KERNEL_BRANCH} \ """ + kci_build + "/build.py -e -g -i -c ${params.DEFCONFIG}") |