diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 968aad8304455e1f8325e54ea7806770fd62829e..438927ef4bacf8261d5587df2619eda058e0f05b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,10 +38,10 @@ stages: - git checkout devel - git pull - git checkout $WOLF_CORE_BRANCH + - git pull - else - - git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/wolf.git + - git clone -b $WOLF_CORE_BRANCH ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/wolf.git - cd wolf - - git checkout $WOLF_CORE_BRANCH - fi - mkdir -pv build - cd build @@ -109,10 +109,10 @@ stages: - git checkout devel - git pull - git checkout $WOLF_LASER_BRANCH + - git pull - else - - git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/plugins/laser.git + - git clone -b $WOLF_LASER_BRANCH ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/plugins/laser.git - cd laser - - git checkout $WOLF_LASER_BRANCH - fi - mkdir -pv build - cd build