diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f47ad12a52e214a6146f5d51baf32455e57e8b0f..ee8e12ffdf886bd32aad3880c7983131e4c4e021 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,7 @@ stages:
   - deploy_ros
 
 ############ YAML ANCHORS ############
-.preliminaries_template: &preliminaries_definition
+.print_variables_template: &print_variables_definition
   # Print variables
   - echo $CI_COMMIT_BRANCH
   - echo $WOLF_IMU_BRANCH
@@ -25,6 +25,7 @@ stages:
   - echo $WOLF_ROS_APRILTAG_BRANCH
   - echo $WOLF_ROS_BODYDYNAMICS_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)
   - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
@@ -98,6 +99,7 @@ license_header:
   stage: license
   image: labrobotica/wolf_deps:20.04
   before_script:  
+    - *print_variables_definition
     - *preliminaries_definition
   script: 
     - *license_header_definition
@@ -107,6 +109,7 @@ build_and_test:bionic:
   stage: build_and_test
   image: labrobotica/wolf_deps:18.04
   script:
+    - *print_variables_definition
     - *build_and_test_definition
 
 ############ UBUNTU 20.04 TESTS ############
@@ -114,6 +117,7 @@ build_and_test:focal:
   stage: build_and_test
   image: labrobotica/wolf_deps:20.04
   script:
+    - *print_variables_definition
     - *build_and_test_definition
 
 ############ DEPLOY PLUGINS ANY BRANCY EXCEPT FOR main ############