Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix tmpdir for fuel deployment job in Jenkins
[releng.git]
/
jjb
/
genesis
/
genesis-fuel.yml
diff --git
a/jjb/genesis/genesis-fuel.yml
b/jjb/genesis/genesis-fuel.yml
index
909dc1b
..
3d659f7
100644
(file)
--- a/
jjb/genesis/genesis-fuel.yml
+++ b/
jjb/genesis/genesis-fuel.yml
@@
-382,6
+382,14
@@
# echo the info about artifact that is used during the deployment
echo "Using $(echo $OPNFV_ARTIFACT_URL | cut -d'/' -f4) for deployment"
# echo the info about artifact that is used during the deployment
echo "Using $(echo $OPNFV_ARTIFACT_URL | cut -d'/' -f4) for deployment"
+ # create TMPDIR if it doesn't exist
+ export TMPDIR=$HOME/tmpdir
+ [[ -d $TMPDIR ]] || mkdir -p $TMPDIR
+
+ # change permissions down to TMPDIR
+ chmod a+x $HOME
+ chmod a+x $TMPDIR
+
# set TOPDIR
export TOPDIR=$WORKSPACE/fuel/prototypes/auto-deploy
# set TOPDIR
export TOPDIR=$WORKSPACE/fuel/prototypes/auto-deploy
@@
-391,7
+399,9
@@
echo
# start the deployment
echo
# start the deployment
- sudo ${TOPDIR}/deploy/deploy.sh $WORKSPACE/opnfv.iso ${TOPDIR}/configs/lf_pod1/dea.yaml ${TOPDIR}/configs/lf_pod1/dha.yaml
+ echo "Issuing command"
+ echo "sudo TMPDIR=${TMPDIR} ${TOPDIR}/deploy/deploy.sh ${WORKSPACE}/opnfv.iso ${TOPDIR}/configs/lf_pod1/dea.yaml ${TOPDIR}/configs/lf_pod1/dha.yaml"
+ sudo TMPDIR=${TMPDIR} ${TOPDIR}/deploy/deploy.sh ${WORKSPACE}/opnfv.iso ${TOPDIR}/configs/lf_pod1/dea.yaml ${TOPDIR}/configs/lf_pod1/dha.yaml
echo
echo "--------------------------------------------------------"
echo
echo "--------------------------------------------------------"