简体   繁体   English

奇怪的IncrediBuild错误:此时,Files \\ Java \\ jre1.8.0_161 \\ bin“” ==“”是意外的

[英]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.

相关问题 IncrediBuild显着增加了链接时间 - IncrediBuild increases linking time significantly Visual Studio 2017 bin\roslyn 文件在构建期间被锁定 - Visual Studio 2017 bin\roslyn files locked during build 吉普错误! 堆栈错误:`C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\MSBuild\\15.0\\Bin\\MSBuild.exe` 失败,退出代码:1 - gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1 奇怪的NuGet行为(在某些.csproj文件中有效,但在其他文件中无效) - Strange NuGet behavior (works in some .csproj files but doesn't in others) 收到语法和意外令牌错误,有人知道为什么吗? - getting syntax and unexpected token(s) error, anyone know why? 关于意外令牌 c2760 的 LinkedList 头文件错误 - LinkedList header file error about unexpected token c2760 有没有办法在构建时最小化CSS文件? - Is there a way to minify css files at build time? 在本地部署 Service Fabric 项目:“FABRIC_E_IMAGEBUILDER_UNEXPECTED_ERROR” - Deploying Service Fabric project locally: “FABRIC_E_IMAGEBUILDER_UNEXPECTED_ERROR” 使用开发时 IIS 支持时出错 - Error when using development time IIS support 尝试重建Visual Studio文件,但出现错误 - Trying to rebuild Visual Studio files but I get an error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM