首页 > 解决方案 > Gitlab CI 卡在递归地更新/初始化子模块

问题描述

我在我的一项 CI 工作中使用了一个子模块。但它停留在“递归更新/初始化子模块”。我已经添加了这个:

clean-debugBuild:
   variables:
        GIT_SUBMODULE_STRATEGY: recursive
   stage: build
   script:
       - echo 'Performing clean build of the project'
       - stm32cubeidec.exe --launcher.suppressErrors -nosplash -data "./" -application org.eclipse.cdt.managedbuilder.core.headlessbuild -import "tVNS_nextGen/" -cleanBuild "tVNS_nextGen/Debug"
   except:
     - tags
   artifacts:
     expire_in: 3 days
     paths:
     - tVNS_nextGen/Debug/tVNS_nextGen.elf

到我在gitlab_ci.yml文件中的工作。管道输出: 管道

标签: gitlabgitlab-cigitlab-ci-runner

解决方案


推荐阅读