
[ad_1]
Hi,
I’m attempting to implement a CI/CD with Jenkins on my undertaking with Cocos Creator 3.4.1
So far, it’s working however for some undertaking needings I’ve to create a number of builds with differents scenes so I have to move them by paramenter.
Cocos itself permits this with the “scenes” construct parameter, however I can’t get it working.
I’ve tried totally different codecs however I all the time get the identical error and Cocos builds all scenes:
scene xxx is invalid. will use the brand new worth [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
To be sincere, the documentation web page doesn’t assist a lot:
https://docs.cocos.com/creator/guide/en/editor/publish/publish-in-command-line.html
Does anybody know what format ought to the scenes parameter have?
So far i’ve tried:
scenes=[{“url”:“db://assets/SceneA.scene”,“uuid”:“xxx”,“inBundle”:false},{“url”:“db://assets/sceneB.scene”,“uuid”:“xxx”}…]
scenes=[[{“url”:“db://assets/SceneA.scene”,“uuid”:“xxx”,“inBundle”:false}],[{“url”:“db://assets/sceneB.scene”,“uuid”:“xxx”}…]]
scenes=xxx,xxx,xxx (UUIDs)
scenes=[xxx,xxx,xxx] (UUIDs)
Thanks!
[ad_2]