Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/jenkins/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
GitHub Pull请求生成器未在Jenkins中构建Xcode 7.2.1_Github_Jenkins_Continuous Integration_Xcode7_Pull Request - Fatal编程技术网

GitHub Pull请求生成器未在Jenkins中构建Xcode 7.2.1

GitHub Pull请求生成器未在Jenkins中构建Xcode 7.2.1,github,jenkins,continuous-integration,xcode7,pull-request,Github,Jenkins,Continuous Integration,Xcode7,Pull Request,我在Jenkins中正确配置了GitHub Pull Request Builder,并按预期工作。我添加了一个shell,以执行swiftlint作为通过标准,并按预期工作。但是,我们发现了一个问题,代码通过了linting,但是在使用xcodebuild命令行作为第二步指令时遇到了问题。因此,我们在构建的运行时添加了linting,当我们尝试在检测到PR时运行xcodebuild-workspace MYPROJECT.xcworkspace-scheme MYPROJECT-destina

我在Jenkins中正确配置了GitHub Pull Request Builder,并按预期工作。我添加了一个shell,以执行swiftlint作为通过标准,并按预期工作。但是,我们发现了一个问题,代码通过了linting,但是在使用xcodebuild命令行作为第二步指令时遇到了问题。因此,我们在构建的运行时添加了linting,当我们尝试在检测到PR时运行
xcodebuild-workspace MYPROJECT.xcworkspace-scheme MYPROJECT-destination'platform=iOS模拟器,name=iphone5,OS=8.1'clean build
。它只是坐在那里旋转,除非我在作业中设置中止时间。当我在本地终端中尝试此操作时,如果我使用
open-a xcode${WORKSPACE}/MYPROJECT.xcworkspace
将其放入一个不包含GitHub Pull请求生成器的作业中,它就会起作用

自动创建方案

不真实,如果你在一个远程位置工作并且没有屏幕访问权限,你永远不会知道。不管怎样,现在一切都按预期进行