diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2501eb45659b7ef96c55f3c25780523a04bfe189..f75a604f9925d08f8121977abb28e2ecc112b136 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,6 +6,12 @@ stages:
   - csm_falko
 
 ############ YAML ANCHORS ############
+.print_variables_template: &print_variables_definition
+  # Print variables
+  - echo $CI_COMMIT_BRANCH
+  - echo $WOLF_LASER_BRANCH
+  - echo $LASERSCANUTILS_BRANCH
+
 .preliminaries_template: &preliminaries_definition
   ## Install ssh-agent if not already installed, it is required by Docker.
   ## (change apt-get to yum if you use an RPM-based image)
@@ -153,6 +159,7 @@ license_headers:
       paths:
       - ci_deps/wolf/
   before_script:
+    - *print_variables_definition
     - *preliminaries_definition
     - *install_wolf_definition
   script:
@@ -170,6 +177,7 @@ build_and_test_none:bionic:
       paths:
       - ci_deps/laser_scan_utils/
   before_script:
+    - *print_variables_definition
     - *preliminaries_definition
     - *install_wolf_definition
     - *install_laserscanutils_definition
@@ -190,6 +198,7 @@ build_and_test_csm:bionic:
       paths:
       - ci_deps/csm/
   before_script:
+    - *print_variables_definition
     - *preliminaries_definition
     - *install_wolf_definition
     - *install_csm_definition
@@ -211,6 +220,7 @@ build_and_test_falko:bionic:
       paths:
       - ci_deps/falkolib/
   before_script:
+    - *print_variables_definition
     - *preliminaries_definition
     - *install_wolf_definition
     - *install_falko_definition
@@ -235,6 +245,7 @@ build_and_test_csm_falko:bionic:
       paths:
       - ci_deps/falkolib/
   before_script:
+    - *print_variables_definition
     - *preliminaries_definition
     - *install_wolf_definition
     - *install_falko_definition
@@ -255,6 +266,7 @@ build_and_test_none:focal:
       paths:
       - ci_deps/laser_scan_utils/
   before_script:
+    - *print_variables_definition
     - *preliminaries_definition
     - *install_wolf_definition
     - *install_laserscanutils_definition
@@ -275,6 +287,7 @@ build_and_test_csm:focal:
       paths:
       - ci_deps/csm/
   before_script:
+    - *print_variables_definition
     - *preliminaries_definition
     - *install_wolf_definition
     - *install_csm_definition
@@ -296,6 +309,7 @@ build_and_test_falko:focal:
       paths:
       - ci_deps/falkolib/
   before_script:
+    - *print_variables_definition
     - *preliminaries_definition
     - *install_wolf_definition
     - *install_falko_definition
@@ -320,6 +334,7 @@ build_and_test_csm_falko:focal:
       paths:
       - ci_deps/falkolib/
   before_script:
+    - *print_variables_definition
     - *preliminaries_definition
     - *install_wolf_definition
     - *install_falko_definition