Skip to content

Commit edc74fb

Browse files
renukamanavalanlguohan
authored andcommitted
Update Jenkinsfile: build debug image for broadcom and mellanox (#43)
1 parent 25457ee commit edc74fb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

jenkins/broadcom/buildimage-brcm-all/Jenkinsfile

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ pipeline {
3434
git submodule foreach --recursive '[ -f .git ] && echo "gitdir: $(realpath --relative-to=. $(cut -d" " -f2 .git))" > .git'
3535
3636
make configure PLATFORM=broadcom
37+
make SONIC_CONFIG_BUILD_JOBS=1 INSTALL_DEBUG_TOOLS=y target/sonic-broadcom.bin
38+
mv target/sonic-broadcom.bin target/sonic-broadcom-dbg.bin
3739
make SONIC_CONFIG_BUILD_JOBS=1 target/sonic-broadcom.bin
3840
make SONIC_CONFIG_BUILD_JOBS=1 target/sonic-aboot-broadcom.swi
3941
make SONIC_CONFIG_BUILD_JOBS=1 target/sonic-broadcom.raw

jenkins/mellanox/buildimage-mlnx-all/Jenkinsfile

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ pipeline {
3535
git submodule foreach --recursive '[ -f .git ] && echo "gitdir: $(realpath --relative-to=. $(cut -d" " -f2 .git))" > .git'
3636
3737
make configure PLATFORM=mellanox
38+
make SONIC_CONFIG_BUILD_JOBS=1 ENABLE_DHCP_GRAPH_SERVICE=y INSTALL_DEBUG_TOOLS=y target/sonic-mellanox.bin
39+
mv target/sonic-mellanox.bin target/sonic-mellanox-dbg.bin
3840
make SONIC_CONFIG_BUILD_JOBS=1 ENABLE_DHCP_GRAPH_SERVICE=y target/sonic-mellanox.bin
3941
ENABLE_SYNCD_RPC=y make SONIC_CONFIG_BUILD_JOBS=1 target/docker-syncd-mlnx-rpc.gz target/docker-ptf-mlnx.gz
4042
'''

0 commit comments

Comments
 (0)