From: Luc Provoost Date: Fri, 30 Apr 2021 10:45:47 +0000 (+0200) Subject: Passing $WORKSPACE to build-image.sh X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F42%2F72442%2F1;p=releng.git Passing $WORKSPACE to build-image.sh build-image.sh has changed to take a new parameter: the cache directory that will be passed to disk-image-create. We are now passing $WORKSPACE as a parameter using the -w option. Signed-off-by: Luc Provoost Change-Id: Ieaed8c87b07c0af022294f5e26af4aa64e1976b9 --- diff --git a/jjb/samplevnf/samplevnf.yaml b/jjb/samplevnf/samplevnf.yaml index 285680532..d7a5e0c76 100644 --- a/jjb/samplevnf/samplevnf.yaml +++ b/jjb/samplevnf/samplevnf.yaml @@ -55,7 +55,7 @@ builders: - shell: | cd $WORKSPACE/rapidvm/dib - bash build-image.sh -g {gs-pathname} -i {tag} + bash build-image.sh -g {gs-pathname} -i {tag} -w $WORKSPACE - job-template: name: 'rapid-prox-verify-{stream}' @@ -101,4 +101,4 @@ sudo pip install tox-pip-version cd $WORKSPACE && tox -e docs cd $WORKSPACE/rapidvm/dib - bash build-image.sh -g {gs-pathname} -i {tag} -v + bash build-image.sh -g {gs-pathname} -i {tag} -v -w $WORKSPACE