[英]Strange IncrediBuild error: Files\Java\jre1.8.0_161\bin“”==“” was unexpected at this time
In a Jenkins job, I start a batch, which builds my project with these commands: 在Jenkins作业中,我开始了一个批处理,该批处理使用以下命令构建了我的项目:
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
set PreferredToolArchitecture=x64
BuildConsole "%ROOT%project.sln" /rebuild /cfg="Release|x64" /vsversion="vc141" /log="%ARTIFACTS_DIR%\build_Release_x64.log"
Some days ago, this project was compiled by Visual Studio 2015
, but then we changed and now it should compile with Visual Studio 2017
. 几天前,该项目是由
Visual Studio 2015
编译的,但后来我们进行了更改,现在它应该与Visual Studio 2017
一起编译。
When the project was compiled with Visual Studio 2015
, the compilation worked without problems. 使用
Visual Studio 2015
编译项目时,编译工作不会出现问题。 Since the upgrade to Visual Studio 2017
, I get this error message in the logs: 自升级到
Visual Studio 2017
以来,我在日志中收到以下错误消息:
---------------------------------------------
Build Acceleration Console 9.2.2 (build 2190)
---------------------------------------------
Build Log 2/26/2018 12:21:30 PM
---------------------------------------------
--------------------Build System Warning---------------------------------------
Current logging level may degrade build performance:
Logging level is set to 'Detailed'
This may degrade build performance and use more disk space.
Use the Agent Settings dialog to modify this setting.
-------------------------------------------------------------------------------
Files\Java\jre1.8.0_161\bin""=="" was unexpected at this time.
1 build system warning(s):
- Current logging level may degrade build performance
On the machine, where the Jenkins job runs, Java is installed in the directory C:\\Program Files\\Java\\jre1.8.0_161
. 在运行Jenkins作业的计算机上,Java安装在目录
C:\\Program Files\\Java\\jre1.8.0_161
。
Did anyone got this message before? 有人收到过此消息吗? Or does anyone have an idea, where the problem lies?
还是有人知道问题出在哪里?
Forgive my obvious question but have you tried performing this build without IncrediBuild? 原谅我明显的问题,但是您是否尝试过在没有IncrediBuild的情况下执行此构建? I am asking this since there are similar errors that can happen regardless of IncrediBuild.
我问这是因为无论IncrediBuild如何,都可能发生类似的错误。 See for example "Rohit Sinha's" post in the following thread: https://groups.google.com/forum/#!topic/cdap-user/xcK1cMzOrwo
例如,请参见以下主题中的“ Rohit Sinha的文章”: https : //groups.google.com/forum/#!topic/ cdap-user/xcK1cMzOrwo
If this is not the case, please contact us at support@incredibuild.com and we will be more than happy to assist you and post here an answer for the benefit of the community. 如果不是这种情况,请通过support@incredibuild.com与我们联系,我们将非常乐意为您提供帮助,并在此处发布答案,以造福社区。
Disclaimer, I'm an IncrediBuild employee. 免责声明,我是IncrediBuild员工。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.