diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 512e0e6349f504383a132f8537ae8fb3098ba516..f379be4b87b538efa883f2f56af134d06aa8b844 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -82,6 +82,8 @@ ubuntu-llvm: before_script: - git checkout -f -q $CI_COMMIT_SHA - git lfs install --skip-repo + - git config --global user.email "otbbot@orfeo-toolbox.org" + - git config --global user.name "otbbot" artifacts: expire_in: 24 hrs when: always diff --git a/CI/main_superbuild.cmake b/CI/main_superbuild.cmake index 2a47ebb60462c7faec6d601cfb9c3aa633a79d56..4c84abdb1fbf3d4688534e6e83cef48011a87da5 100644 --- a/CI/main_superbuild.cmake +++ b/CI/main_superbuild.cmake @@ -51,7 +51,7 @@ find_program(CTEST_GIT_COMMAND NAMES git git.cmd) # FIXME: Replace ${GIT} variable with $[CTEST_GIT_COMMAND}" set( GIT "${CTEST_GIT_COMMAND}" ) -set( DEBUG 1 ) + execute_process( COMMAND ${GIT} "clone" "${REMOTE}" "--branch" "${BRANCH_NAME}" "--depth" "1" "superbuild-artifact" @@ -97,6 +97,7 @@ if ( DEBUG ) message("Xdk folder exists at ${XDK_PATH}") else() message("Something went wrong no folder in ${XDK_PATH}") + message("The branch was ${BRANCH_NAME}") endif() endif()