diff options
author | Julien <zhang.jun3g@zte.com.cn> | 2018-01-27 23:45:47 +0800 |
---|---|---|
committer | Julien <zhang.jun3g@zte.com.cn> | 2018-02-05 00:29:01 +0800 |
commit | 88c46a72d60389389a8ef4eea464bb5e1cf53489 (patch) | |
tree | a2fc74cb6afc3d7d9ae4c2782586cd7c2a6d8c74 /jjb | |
parent | 9c0a34eba94f87c6c5a02c52ccc521e9d5a6f4e8 (diff) |
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 <zhang.jun3g@zte.com.cn>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/global/releng-macros.yml | 3 |
1 files changed, 2 insertions, 1 deletions
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: | |