unity3d jenkins 插件https://plugins.jenkins.io/unity3d-plugin/#documentation已经很老了。自2015年以来一直没有更新!我想在管道脚本中使用它,但文档没有说明管道语法是什么。
我不是 jenkins 插件作者专业人士,但这里有一个 @DataBoundConstructor https://github.com/jenkinsci/unity3d-plugin/blob/master/src/main/java/org/jenkinsci/plugins/unity3d/Unity3dBuilder。 java#L53看起来很有希望,但以下不起作用:
Unity3DBuilder: unity3dName: "Unity 2019.4.5", argLine: "-quit -batchmode -projectPath . -logFile ${WORKSPACE}\compilelog.txt"
错误说unexpected token: unity3dName
。
编辑:我尝试了这种替代语法,但也出现了错误:
Unity3dBuilder(unity3dName: "Unity 2019.4.5", argLine: "-quit -batchmode -projectPath . -logFile ${WORKSPACE}\\compilelog.txt")
随着错误: No such DSL method 'Unity3dBuilder'
我是否正确假设可以从管道脚本中使用任何旧插件?如果是这样,这个语法的正确语法是什么?
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句