[ci]: set -ex for official build to exit on any build failures
Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
parent
341e15b620
commit
fa321f182c
@ -41,10 +41,12 @@ jobs:
|
|||||||
- name: vs
|
- name: vs
|
||||||
variables:
|
variables:
|
||||||
dbg_image: yes
|
dbg_image: yes
|
||||||
|
|
||||||
- name: barefoot
|
- name: barefoot
|
||||||
variables:
|
variables:
|
||||||
sync_rpc_image: yes
|
sync_rpc_image: yes
|
||||||
swi_image: yes
|
swi_image: yes
|
||||||
|
|
||||||
- name: broadcom
|
- name: broadcom
|
||||||
variables:
|
variables:
|
||||||
dbg_image: yes
|
dbg_image: yes
|
||||||
@ -52,11 +54,13 @@ jobs:
|
|||||||
raw_image: yes
|
raw_image: yes
|
||||||
sync_rpc_image: yes
|
sync_rpc_image: yes
|
||||||
platform_rpc: brcm
|
platform_rpc: brcm
|
||||||
|
|
||||||
- name: centec
|
- name: centec
|
||||||
variables:
|
variables:
|
||||||
dbg_image: yes
|
dbg_image: yes
|
||||||
sync_rpc_image: yes
|
sync_rpc_image: yes
|
||||||
platform_rpc: centec
|
platform_rpc: centec
|
||||||
|
|
||||||
- name: centec-arm64
|
- name: centec-arm64
|
||||||
pool: sonicbld_8c
|
pool: sonicbld_8c
|
||||||
timeoutInMinutes: 2160
|
timeoutInMinutes: 2160
|
||||||
@ -66,9 +70,11 @@ jobs:
|
|||||||
- name: generic
|
- name: generic
|
||||||
variables:
|
variables:
|
||||||
dbg_image: yes
|
dbg_image: yes
|
||||||
|
|
||||||
- name: innovium
|
- name: innovium
|
||||||
variables:
|
variables:
|
||||||
swi_image: yes
|
swi_image: yes
|
||||||
|
|
||||||
- name: marvell-armhf
|
- name: marvell-armhf
|
||||||
pool: sonicbld_8c
|
pool: sonicbld_8c
|
||||||
timeoutInMinutes: 2160
|
timeoutInMinutes: 2160
|
||||||
@ -80,13 +86,16 @@ jobs:
|
|||||||
dbg_image: yes
|
dbg_image: yes
|
||||||
sync_rpc_image: yes
|
sync_rpc_image: yes
|
||||||
platform_rpc: mlnx
|
platform_rpc: mlnx
|
||||||
|
|
||||||
- name: nephos
|
- name: nephos
|
||||||
variables:
|
variables:
|
||||||
dbg_image: yes
|
dbg_image: yes
|
||||||
sync_rpc_image: yes
|
sync_rpc_image: yes
|
||||||
platform_rpc: nephos
|
platform_rpc: nephos
|
||||||
|
|
||||||
buildSteps:
|
buildSteps:
|
||||||
- bash: |
|
- bash: |
|
||||||
|
set -ex
|
||||||
if [ $(GROUP_NAME) == vs ]; then
|
if [ $(GROUP_NAME) == vs ]; then
|
||||||
if [ $(dbg_image) == yes ]; then
|
if [ $(dbg_image) == yes ]; then
|
||||||
make $BUILD_OPTIONS INSTALL_DEBUG_TOOLS=y target/sonic-vs.img.gz && mv target/sonic-vs.img.gz target/sonic-vs-dbg.img.gz
|
make $BUILD_OPTIONS INSTALL_DEBUG_TOOLS=y target/sonic-vs.img.gz && mv target/sonic-vs.img.gz target/sonic-vs-dbg.img.gz
|
||||||
|
Reference in New Issue
Block a user