diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 04fc62ffed25c2812f5be6e69318b18ac6c3934e..b1acfc8ca60eb94efe8ce8ebc41f518de1c3902b 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 @@ -77,10 +77,10 @@ stages: - git checkout devel - git pull - git checkout $WOLF_GNSS_BRANCH + - git pull - else - - git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/plugins/gnss.git + - git clone -b $WOLF_GNSS_BRANCH ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/plugins/gnss.git - cd gnss - - git checkout $WOLF_GNSS_BRANCH - fi - mkdir -pv build - cd build @@ -97,10 +97,10 @@ stages: - git checkout devel - git pull - git checkout $WOLF_IMU_BRANCH + - git pull - else - - git clone ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/plugins/imu.git + - git clone -b $WOLF_IMU_BRANCH ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/plugins/imu.git - cd imu - - git checkout $WOLF_IMU_BRANCH - fi - mkdir -pv build - cd build