From 88c46a72d60389389a8ef4eea464bb5e1cf53489 Mon Sep 17 00:00:00 2001 From: Julien Date: Sat, 27 Jan 2018 23:45:47 +0800 Subject: Update the postscriptbuild usage when we want to trigger the scipt only when previous builders fail, we should also set the other macro 'script-only-if-succeeded' to false, the default value is true. script-only-if-succeeded: false script-only-if-failed: true Change-Id: Ifdca24ea8d076dd4e16ef466705e0167b97cf1df Signed-off-by: Julien --- jjb/global/releng-macros.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jjb/global/releng-macros.yml b/jjb/global/releng-macros.yml index bd9f97d3b..d3ffb0bfe 100644 --- a/jjb/global/releng-macros.yml +++ b/jjb/global/releng-macros.yml @@ -348,7 +348,7 @@ builders: - shell: | #!/bin/bash - # Install python package + # Install python package sudo pip install "flake8==2.6.2" echo "Checking python code..." @@ -963,6 +963,7 @@ - shell: !include-raw-escape: installer-report.sh - postbuildscript: + script-only-if-succeeded: false script-only-if-failed: true builders: - shell: | -- cgit 1.2.3-korg