Gitlab Runner在windows上打开GUI (Shell Runner)



我需要一个GitLab Runner打开一个程序,在我的情况下Unity3D,并开始运行一个场景。为此,我选择了一个shell运行器来运行批处理脚本。下面的代码被成功执行,但是窗口既没有打开,运行程序也没有失败。

echo "Checkout branches"
git submodule update --init --remote
cd .simulation
git status
cd ..
cd .agent
git status
cd ..
echo "Open Unity3d"
"C:Program FilesUnityEditorUnity.exe" -openProject ".simulationAssetsScenesTestScene.unity"

我选择了错误的类型还是不可能在Windows上使用GitLab Runner启动GUI应用程序?

敬祝Taka

意图是AI代理与Unity3d模拟环境交互

有点晚了。你不应该在windows服务中自动启动GitLab运行器。在Powershell中,你必须手动启动GitLab运行器,start gitlab-runner.exe,然后run gitlab-runner.exe

最新更新