Repository navigation
fails to build on Windows in Jenkins #4
Description
I get this when it try's to upgrade the project file:
C:/Jenkins/workspace/ros2_batch_ci_windows/workspace/src/ament/uncrustify/win32/Debug/Uncrustify.exe
Microsoft Visual Studio 2015 RC Version 14.0.22823.1.
Copyright (C) Microsoft Corp. All rights reserved.
The license for Visual Studio has expired.
The evaluation period for this product has ended.
5>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\external_uncrustify.vcxproj]
5>Done Building Project "C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\external_uncrustify.vcxproj" (default targets) -- FAILED.
3>Done Building Project "C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\external_uncrustify.vcxproj.metaproj" (default targets) -- FAILED.
2>Done Building Project "C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\ALL_BUILD.vcxproj.metaproj" (default targets) -- FAILED.
1>Done Building Project "C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\uncrustify.sln" (default targets) -- FAILED.
Build FAILED.
"C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\uncrustify.sln" (default target) (1) ->
"C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\external_uncrustify.vcxproj.metaproj" (default target) (3) ->
"C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\external_uncrustify.vcxproj" (default target) (5) ->
(CustomBuild target) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\uncrustify\external_uncrustify.vcxproj]
0 Warning(s)
1 Error(s)
If I use a custom ros2.repos file which excludes this repository it gets further and fails on the know issue about the IDL file, see:
This does not pose a problem when running it from a terminal directly on the machine. Even the IDL bug doesn't occur when building from source in the cmd prompt, but that may be due to the fact that I have slightly out-of-date sources. So some reason this is a problem when running under Jenkins. I updated the jenkins slave service to run as the local account, but that didn't help.
This was happening and so I looked to see if there was a newer version. There was so I updated to VS 2015 Community RC, but the issue persisted after upgrading (by uninstalling VS 2015 Ultimate Preview and the installing the new version).
One other thought I had, as a workaround, was to upgrade the solution file and commit it. That might solve the issue for now.
Activity
wjwwood commentedon Jun 2, 2015
This is gone after reinstalling Windows.