Exit code 1 while the script succeeded

I am new to GitLab

I have an issue when running a script on GitLab, the bash script is simple to echo lines however when running the pipeline it exit with code 1

#!/bin/bash

echo "Setting environment is done with success!!"
echo "Please reboot your session."
echo "You can also type command bellow instead:"
echo ""
echo "              newgrp docker"
echo " everything is good"

the output