Refactor bash script
Refactor bash script

Execute git clone and commands in separate subshells: This is preparation to spin separate containers for cloning, executing build script and in future artifacts.

ayufan/gitlab-ci-multi-runner,ayufan/gitlab-ci-multi-runner,hu19891110/gitlab-ci-multi-runner,hu19891110/gitlab-ci-multi-runner,soiff/gitlab-ci-multi-runner,soiff/gitlab-ci-multi-runner,soiff/gitlab-ci-multi-runner,ayufan/gitlab-ci-multi-runner,hu19891110/gitlab-ci-multi-runner