diff options
author | Michal Cmarada <mcmarada@cisco.com> | 2019-03-15 12:13:10 +0100 |
---|---|---|
committer | Michal Cmarada <mcmarada@cisco.com> | 2019-03-18 07:16:41 +0000 |
commit | 6861277dd07eb42673ee0bd64cc3452a49c0bce1 (patch) | |
tree | 008ac1b9a6740a387ad520d4502ad6b2f6fa706b /jjb/hc2vpp | |
parent | a9c2b91a8c69edd65c2405433c08217b41517406 (diff) |
fix hc2vpp centos integration job
yum with --downloadonly option downloads also dependencies which
cannot be skipped. Because of this it is better to use yumdownloader
which downloads desired package only.
Change-Id: I1ff65f583abbea77784c5779a5da7879d6ed9580
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'jjb/hc2vpp')
-rw-r--r-- | jjb/hc2vpp/include-raw-hc2vpp-integration-prebuild.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/hc2vpp/include-raw-hc2vpp-integration-prebuild.sh b/jjb/hc2vpp/include-raw-hc2vpp-integration-prebuild.sh index b8f88bc5b..1e54750b2 100644 --- a/jjb/hc2vpp/include-raw-hc2vpp-integration-prebuild.sh +++ b/jjb/hc2vpp/include-raw-hc2vpp-integration-prebuild.sh @@ -49,10 +49,10 @@ if ! [[ -z ${REPO_NAME} ]]; then if [[ "${VERSION}" != 'RELEASE' ]]; then # download specific version if set echo VERSION: ${VERSION} - sudo yum -y install --downloadonly --downloaddir=./ vpp-api-java-${VERSION} || true + yumdownloader vpp-api-java-${VERSION} || true else # download latest version for specified stream - sudo yum -y install --downloadonly --downloaddir=./ vpp-api-java || true + yumdownloader vpp-api-java || true fi fi fi |