From 6cf7f8f1bf9355d5ab81e12f3f15a894b7dce53b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu>
Date: Fri, 21 Jan 2022 22:27:19 +0100
Subject: [PATCH] Update .gitlab-ci.yml file

---
 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d55e32c..e139d78 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -146,11 +146,12 @@ stages:
   - roscd wolf_demo_laser2d/bag
   - wget https://gitlab.iri.upc.edu/mobile_robotics/wolf_projects/wolf_ros/demos/demo_rosbags/-/raw/master/laser2d/advanced.bag
   #- roslaunch_output=$( roslaunch wolf_demo_laser2d demo_laser2d.launch rviz:=false bag:=advanced.bag 2>&1 | tee /dev/tty )
-  - roslaunch_output=$( roslaunch wolf_demo_laser2d demo_laser2d.launch rviz:=false bag:=advanced.bag | tee /dev/fd/2 )
+  - roslaunch_output=$(roslaunch wolf_demo_laser2d demo_laser2d.launch rviz:=false bag:=advanced.bag)
+  - echo "$roslaunch_output"
   - if [[ "$roslaunch_output" == *"process has finished cleanly"* ]]; then
   -   echo "=============\rROSLAUNCH FINISHED WITHOUT ANY PROBLEM!\r=================";
   - else
-  -   return 1  
+  -   exit 1  
   - fi
 
 ############ UBUNTU 16.04 TEST ############
-- 
GitLab