From: Paul Bauer Date: Fri, 25 Sep 2020 13:15:44 +0000 (+0200) Subject: Fix bad logic in regressiontest branch selection X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=7b30817e7d54e094c45a2cd0a12aafd489536846;p=alexxy%2Fgromacs.git Fix bad logic in regressiontest branch selection Change-Id: I1eed8a5228362d34af9426a73c2a9d06eae7a714 --- diff --git a/admin/gitlab-ci/archive.gitlab-ci.yml b/admin/gitlab-ci/archive.gitlab-ci.yml index 066f4d6732..b33089dafe 100644 --- a/admin/gitlab-ci/archive.gitlab-ci.yml +++ b/admin/gitlab-ci/archive.gitlab-ci.yml @@ -36,7 +36,7 @@ regressiontests:prepare: # Always clone the default version for this branch, master in this case script: - export REGTESTBRANCH=master - - if [[ -z $REGRESSIONTESTBRANCH ]] ; then + - if [[ ! -z $REGRESSIONTESTBRANCH ]] ; then export REGTESTBRANCH=$REGRESSIONTESTBRANCH ; echo "Using $REGTESTBRANCH instead of default" ; fi