summaryrefslogtreecommitdiffstats
path: root/jjb/hc2vpp
diff options
context:
space:
mode:
authorMichal Cmarada <mcmarada@cisco.com>2019-03-15 12:13:10 +0100
committerMichal Cmarada <mcmarada@cisco.com>2019-03-18 07:16:41 +0000
commit6861277dd07eb42673ee0bd64cc3452a49c0bce1 (patch)
tree008ac1b9a6740a387ad520d4502ad6b2f6fa706b /jjb/hc2vpp
parenta9c2b91a8c69edd65c2405433c08217b41517406 (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.sh4
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