Use GitLab env vars to get git commit (#1831)
* use GitLab env vars to get git commit * compile_error to test it * Revert "compile_error to test it" This reverts commit 67d47822.
* use GitLab env vars to get git commit * compile_error to test it * Revert "compile_error to test it" This reverts commit 67d47822.