diff options
-rw-r--r-- | jjb/genesis/genesis.yml | 4 |
1 files 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' |