diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2cb0cfde7d09699337a9fc7c46b70d614f30f514..836830e885838bdc0cc59b51a640d4f5c2b1be41 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 c0a0ad5be9ea2a84b492fdc961085a1a3b87bc8d..5cb6da677cc3f801ab61bb3413067707e5fc19ce 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" @@ -103,6 +103,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()