Hi, friends
I want to build a cocos creator project by command line after pushing into the GitLab repo.
I have this Powershell script:
$projectPath="G:\gitlab-runner\builds\95UxYmHa\0\winigames\test-cocos-ci-windows"
$buildParams = "platform=web-mobile;"
$buildParams += "debug=true;"
Start-Process -FilePath "G:\cocos-engines\2.4.3\CocosCreator.exe" -ArgumentList "--nologin --path $projectPath --build $buildParams" -PassThru -Wait -NoNewWindow
I run this script on Windows PowerShell ISE is OK.and build project successfully.
But when GitLab-runner runs this script. Build not complete and three processes of cocos opened and stay this step.
What’s wrong?