From b1d18ffa51aae368135cb560c22631d5ae5e4316 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:33:54 +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 355377d..e9d6b04 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_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) @@ -117,6 +122,7 @@ license_headers: paths: - ci_deps/wolf/ before_script: + - *print_variables_definition - *preliminaries_definition - *install_wolf_definition script: @@ -134,6 +140,7 @@ build_and_test:bionic: paths: - ci_deps/imu/ before_script: + - *print_variables_definition - *preliminaries_definition - *install_wolf_definition - *install_wolfimu_definition @@ -153,6 +160,7 @@ build_and_test:focal: paths: - ci_deps/imu/ before_script: + - *print_variables_definition - *preliminaries_definition - *install_wolf_definition - *install_wolfimu_definition -- GitLab