Skip to content
Snippets Groups Projects
Commit af877301 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

Update .gitlab-ci.yml file

parent c5a59c95
No related branches found
No related tags found
1 merge request!8Devel
......@@ -6,11 +6,10 @@ stages:
############ YAML ANCHORS ############
.print_variables_template: &print_variables_definition
# Print variables
- echo $CI_COMMIT_BRANCH
- echo $WOLF_CORE_BRANCH
- echo $WOLF_LASER_BRANCH
- echo $WOLF_ROS_NODE_NODE
- echo $CI_COMMIT_BRANCH
- echo $WOLF_ROS_LASER_NODE
- echo $WOLF_ROS_NODE_BRANCH
- echo $WOLF_ROS_LASER_BRANCH
- echo $LASERSCANUTILS_BRANCH
......@@ -81,10 +80,8 @@ stages:
- if [ -d wolf ]; then
- echo "directory wolf exists"
- cd wolf
- git checkout devel
- git pull
- git fetch --all
- git checkout $WOLF_CORE_BRANCH
- git pull
- else
- git clone -b $WOLF_CORE_BRANCH ssh://git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/wolf.git
- cd wolf
......@@ -101,8 +98,7 @@ stages:
- if [ -d laser_scan_utils ]; then
- echo "directory laser_scan_utils exists"
- cd laser_scan_utils
- git checkout main
- git pull
- git fetch --all
- git checkout $LASERSCANUTILS_BRANCH
- git pull
- else
......@@ -155,8 +151,7 @@ stages:
- if [ -d laser ]; then
- echo "directory laser exists"
- cd laser
- git checkout devel
- git pull
- git fetch --all
- git checkout $WOLF_LASER_BRANCH
- git pull
- else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment