diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f75a604f9925d08f8121977abb28e2ecc112b136..0aabb6a729351c494488494dbfb8d40687eddabf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,7 @@ stages: ############ YAML ANCHORS ############ .print_variables_template: &print_variables_definition # Print variables + - echo $WOLF_CORE_BRANCH - echo $CI_COMMIT_BRANCH - echo $WOLF_LASER_BRANCH - echo $LASERSCANUTILS_BRANCH @@ -95,9 +96,12 @@ stages: - if [ -d laser_scan_utils ]; then - echo "directory laser_scan_utils exists" - cd laser_scan_utils + - git checkout main + - git pull + - git checkout $LASERSCANUTILS_BRANCH - git pull - else - - git clone https://gitlab.iri.upc.edu/labrobotica/algorithms/laser_scan_utils.git + - git clone -b $LASERSCANUTILS_BRANCH https://gitlab.iri.upc.edu/labrobotica/algorithms/laser_scan_utils.git - cd laser_scan_utils - fi - mkdir -pv build