aboutsummaryrefslogtreecommitdiff
path: root/trigger-lt-qcom-linux-release.yaml
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2019-09-25 23:13:35 -0700
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2019-09-25 23:17:54 -0700
commit9dedda3c122d0c0cd4e3ae67c4a3a2753ffb39be (patch)
treea27dd35542553a09017fb6730f2a6892ace3417b /trigger-lt-qcom-linux-release.yaml
parent2a86de0c1cd3548159303b2abcd9b95737401731 (diff)
Revert "trigger-lt-qcom-linux-release.yaml: Add tee in python scripts"
This reverts commit ab787a057242b3ef4902b8479be397f758aea935. Using tee changes the exit status which will always be 0. However we rely on the python script to return an error when we don't have any build to process. So instead of using tee, simply display the file in case of success. Change-Id: Id9fe0eec984d89cda849aeb585742256878276f8 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'trigger-lt-qcom-linux-release.yaml')
-rw-r--r--trigger-lt-qcom-linux-release.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/trigger-lt-qcom-linux-release.yaml b/trigger-lt-qcom-linux-release.yaml
index 47ab5334..aaa32513 100644
--- a/trigger-lt-qcom-linux-release.yaml
+++ b/trigger-lt-qcom-linux-release.yaml
@@ -43,7 +43,9 @@
rm -rf configs
git clone --depth 1 http://git.linaro.org/ci/job/configs.git
- python configs/trigger-lt-qcom-linux-release/get_latest_kernel_release_build.py | tee release_parameters
+ python configs/trigger-lt-qcom-linux-release/get_latest_kernel_release_build.py \
+ > release_parameters
+ cat release_parameters
- inject:
properties-file: release_parameters
- shell: |
@@ -54,7 +56,9 @@
export KERNEL_BUILD_MACHINE_AVAIL=True
echo "RELEASE_NAME=${RELEASE_NAME}" > lt_qcom_parameters
- python configs/lt-qcom-linux-test/get_latest_kernel_build.py | tee -a lt_qcom_parameters
+ python configs/lt-qcom-linux-test/get_latest_kernel_build.py \
+ >> lt_qcom_parameters
+ cat lt_qcom_parameters
- inject:
properties-file: lt_qcom_parameters
publishers: