Passing $WORKSPACE to build-image.sh 42/72442/1
authorLuc Provoost <luc.provoost@intel.com>
Fri, 30 Apr 2021 10:45:47 +0000 (12:45 +0200)
committerLuc Provoost <luc.provoost@intel.com>
Fri, 30 Apr 2021 10:45:47 +0000 (12:45 +0200)
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 <luc.provoost@intel.com>
Change-Id: Ieaed8c87b07c0af022294f5e26af4aa64e1976b9

jjb/samplevnf/samplevnf.yaml

index 2856805..d7a5e0c 100644 (file)
@@ -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}'
           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