From e8da915d77c2cdf4fc1f779b32b0fe1ad07e62d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu> Date: Mon, 9 May 2022 12:34:38 +0200 Subject: [PATCH] [skip ci] ci: printing variables --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0e0c13079..950e7bf02 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,11 @@ stages: - build_and_test ############ YAML ANCHORS ############ +.print_variables_template: &print_variables_definition + # Print variables + - echo $CI_COMMIT_BRANCH + - echo $WOLF_VISION_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) @@ -115,6 +120,7 @@ license_headers: paths: - ci_deps/wolf/ before_script: + - *print_variables_definition - *preliminaries_definition - *install_wolf_definition script: @@ -132,6 +138,7 @@ build_and_test:bionic: paths: - ci_deps/vision_utils/ before_script: + - *print_variables_definition - *preliminaries_definition - *install_wolf_definition - *install_visionutils_definition @@ -151,6 +158,7 @@ build_and_test:focal: paths: - ci_deps/vision_utils/ before_script: + - *print_variables_definition - *preliminaries_definition - *install_wolf_definition - *install_visionutils_definition -- GitLab