diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 29cd67df78b709482e8c7053d3fc952fd72b7973..ac45df72d7b9629422cd426abf3562bf5738f19d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,17 @@ variables: stages: - test +#### +# Templates: +# - nshmp-lib: Download nshmp-lib repo +#### +.templates: + nshmp-lib: &nshmp-lib |- + cd ..; + rm -rf ${NSHMP_LIB}; + git clone ${NSHMP_LIB_GIT}; + cd ${CI_PROJECT_NAME}; + #### # Template: Common Gradle test #### @@ -19,17 +30,6 @@ stages: before_script: - *nshmp-lib -#### -# Templates: -# - nshmp-lib: Download nshmp-lib repo -#### -.templates: - nshmp-lib: &nshmp-lib |- - cd ..; - rm -rf ${NSHMP_LIB}; - git clone ${NSHMP_LIB_GIT}; - cd ${CI_PROJECT_NAME}; - #### # Build jar file. # Globals: