Questions tagged «build»

将源代码文件转换为可以在计算机上运行的独立软件工件的过程

9
Xcode构建警告-目标完整性-配给配置文件仅对ProjectnameTests目标过期
到目前为止,我创建的所有应用程序都执行此操作。它对应用程序无能为力,也不能够运行它,但是始终发出1条警告只是令人讨厌。 我正在使用Xcode 4.2 OSX 10.7.3 这是实际的警告: -Target Integrity Provisioning配置文件即将到期 这只是它的图像,因此我不必尝试解释。(对其进行了编辑,并将“项目”放在我实际的项目名称用于保密的位置) 谢谢你的帮助!
67 xcode  build  warnings 

15
找不到插件“ proposal-numeric-separator”
如何修复Could not find plugin "proposal-numeric-separator",当我尝试构建我的React应用程序时出现此错误,但我尚未弹出该应用程序: ./src/index.js Error: [BABEL] /home/pc/Downloads/project/src/index.js: Could not find plugin "proposal-numeric-separator". Ensure there is an entry in ./available-plugins.js for it. (While processing: "/home/pc/Downloads/project/node_modules/babel-preset-react-app/index.js$0") at Array.map (<anonymous>) at Generator.next (<anonymous>) at Generator.next (<anonymous>) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. …
59 reactjs  build  yarnpkg 

2
如何为特定的詹金斯工作设置`killSoftly`?
我的Jenkins构建在构建和构建后步骤之间挂起。 控制台输出显示有6分钟的等待时间(但我已经看到等待时间长达一小时): 10:53:26 BUILD FAILED in 1m 7s 10:53:26 4 actionable tasks: 4 executed 10:53:26 Build step 'Invoke Gradle script' changed build result to FAILURE 10:53:26 Build step 'Invoke Gradle script' marked build as failure 11:09:29 [CucumberReport] Using Cucumber Reports version 4.9.0 我发现这和这个问题有类似的问题,他们说的解决方法是设置-DSoftKillWaitSeconds=0在jenkins.xml。 但是,我需要一种只为特定作业设置选项的方法,而不会弄乱全局Jenkins设置(我不想弄乱其他项目)。 编辑: 当我手动中止作业时,在[CucumberReport]步骤之前,仍然会生成Cucumber报告。 我还选中了“构建环境”选项中的“ 如果构建卡住了,则中止构建”复选框,其中“超时”策略设置为No Activity(“超时秒数= 2”)。 …

2
Docker映像在Windows / MVC Core上的构建速度很慢
我有一个MVC Core 2.2,在Docker容器中有多个项目。当我运行它时,大约需要4分钟来构建图像并启动容器。我正在使用docker-compose。 考虑到这是一个很小的发展并且我有一台不错的计算机,所以这似乎很慢。似乎没有使用资源,因为在映像构建期间处理器低于8%,ram不会移动,磁盘几乎为0%。GPU 0%。下载Microsoft映像时,我可以看到互联网激增了几秒钟,仅此而已。我给了docker以下资源: Cores: 8 RAM: 8GB SWAP: 3gb Disk Image Size: 64GB (30.5 GB used) 有什么想法可以利用这些硬件资源来加快构建速度吗?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.