diff options
author | Aníbal Limón <anibal.limon@linaro.org> | 2019-10-03 18:29:26 -0500 |
---|---|---|
committer | Aníbal Limón <anibal.limon@linaro.org> | 2019-10-03 18:29:26 -0500 |
commit | 13ae4180acd7d4d5ab2697ccde0c4f0f65f4a99d (patch) | |
tree | 9a01767aa51ba2272565469aac87d5e10dcc91b7 /trigger-lt-qcom-linux-build.yaml | |
parent | 6e77c304f0d7b41164671b8554be06aa14b1b537 (diff) |
trigger-lt-qcom-linux-{build, mainline, release}: Improve detection on failures
Mark the build as unstable when no kernel is found to be build instead
of a failure using logparser Jenkins plugin.
Change-Id: I44319b56d1d90acfb3e2290efa4ca95b44f195a6
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Diffstat (limited to 'trigger-lt-qcom-linux-build.yaml')
-rw-r--r-- | trigger-lt-qcom-linux-build.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/trigger-lt-qcom-linux-build.yaml b/trigger-lt-qcom-linux-build.yaml index cb241e00..2df26d2a 100644 --- a/trigger-lt-qcom-linux-build.yaml +++ b/trigger-lt-qcom-linux-build.yaml @@ -50,8 +50,14 @@ rm -rf configs git clone --depth 1 http://git.linaro.org/ci/job/configs.git git fetch --all + + set +e python configs/trigger-lt-qcom-linux-build/get_branch_to_build.py \ > branch_to_build + ret=$? + if [ $ret -ne 0 ]; then + echo "warning: no new kernel branch to build available" + fi - inject: properties-file: branch_to_build - shell: | @@ -73,6 +79,10 @@ - inject: properties-file: build_parameters publishers: + - logparser: + parse-rules: '/var/jenkins_home/userContent/android.parse' + unstable-on-warning: true + fail-on-error: false - groovy-postbuild: script: !include-raw: |