Joint commands bug
Gitlab CI scripts have a weird bug.
If multiple commands are combined into one command string, only the last command’s failure or success is reported Source
The bug is discussed thoroughly here!(should read) Source
There is another bug with mono-line commands. Mostly related to the same bug. Source