Skip to content

Commit

Permalink
Enable wcache for buildimage-mlnx-all-rpc build job (sonic-net#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiluo-msft authored Jun 9, 2020
1 parent 44fae29 commit 3957a16
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jenkins/mellanox/buildimage-mlnx-all-rpc/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ pipeline {
git submodule foreach --recursive '[ -f .git ] && echo "gitdir: $(realpath --relative-to=. $(cut -d" " -f2 .git))" > .git'
CACHE_OPTIONS="SONIC_DPKG_CACHE_METHOD=wcache SONIC_DPKG_CACHE_SOURCE=/nfs/dpkg_cache/mellanox"
make configure PLATFORM=mellanox
make SONIC_CONFIG_BUILD_JOBS=1 ENABLE_SYNCD_RPC=y all
make SONIC_CONFIG_BUILD_JOBS=1 target/sonic-mellanox.bin
make SONIC_CONFIG_BUILD_JOBS=1 ENABLE_SYNCD_RPC=y $CACHE_OPTIONS all
make SONIC_CONFIG_BUILD_JOBS=1 ENABLE_SYNCD_RPC=y $CACHE_OPTIONS target/sonic-mellanox.bin
'''
}
}
Expand Down

0 comments on commit 3957a16

Please sign in to comment.