From bf75a43062df9aaf14b9589f2b1dda9d4a56f292 Mon Sep 17 00:00:00 2001 From: Aric Gardner Date: Mon, 2 Mar 2015 11:46:46 -0500 Subject: Fix for lines that post iso release -> https://build.opnfv.org/releases/ Change-Id: I9af2e634232560588e26795224d1dc74992b3197 Signed-off-by: Aric Gardner --- jjb/genesis/genesis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jjb/genesis/genesis.yml b/jjb/genesis/genesis.yml index 72c978db5..66f2bd890 100644 --- a/jjb/genesis/genesis.yml +++ b/jjb/genesis/genesis.yml @@ -62,8 +62,8 @@ echo foo make clean || true make all - sudo rm /var/www/genesis-fuel/daily - ln -s /home/jenkins-ci/workspace/genesis-daily-master/fuel-build/release/ /var/www/genesis-fuel/daily + if [[ -d /var/www/genesis-fuel/daily ]]; then sudo rm /var/www/genesis-fuel/daily; fi + sudo ln -s /home/jenkins-ci/workspace/genesis-daily-master/fuel-build/release/ /var/www/genesis-fuel/daily - job-template: name: 'genesis-verify' -- cgit 1.2.3-korg