[研究] Jenkins 建置失敗
2021-04-20
Subject: Jenkins 建置失敗: Fortify_WebApplication1 #314
"<http://192.168.6.45:8080/job/Fortify_WebApplication1/ws/WebApplication1/WebApplication1.sln"> (預設目標) (1) ->
"<http://192.168.6.45:8080/job/Fortify_WebApplication1/ws/WebApplication1/WebApplication1/WebApplication1.csproj"> (預設目標) (2) ->
(ReportTypeScriptVersion 目標) ->
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VisualStudio\v16.0\TypeScript\Microsoft.TypeScript.targets(73,5): warning : Your project specifies TypeScriptToolsVersion 4.0, but a matching compiler was not found. The latest available TypeScript compiler will be used (4.1). To remove this warning, install the TypeScript 4.0 SDK or update the value of TypeScriptToolsVersion. [<http://192.168.6.45:8080/job/Fortify_WebApplication1/ws/WebApplication1/WebApplication1/WebApplication1.csproj]>
"<http://192.168.6.45:8080/job/Fortify_WebApplication1/ws/WebApplication1/WebApplication1.sln"> (預設目標) (1) ->
"<http://192.168.6.45:8080/job/Fortify_WebApplication1/ws/WebApplication1/WebApplication1.Tests/WebApplication1.Tests.csproj"> (預設目標) (3) ->
(ResolveAssemblyReferences 目標) ->
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): warning MSB3274: 無法解析主要參考 "<http://192.168.6.45:8080/job/Fortify_WebApplication1/ws/WebApplication1/WebApplication1/bin/WebApplication1.dll"%EF%BC%8C%E5%9B%A0%E7%82%BA%E5%AE%83%E6%98%AF%E9%87%9D%E5%B0%8D> ".NETFramework,Version=v4.8" 架構所建置。這個版本高於目前的目標架構 ".NETFramework,Version=v4.7.2"。 [<http://192.168.6.45:8080/job/Fortify_WebApplication1/ws/WebApplication1/WebApplication1.Tests/WebApplication1.Tests.csproj]>
"<http://192.168.6.45:8080/job/Fortify_WebApplication1/ws/WebApplication1/WebApplication1.sln"> (預設目標) (1) ->
"<http://192.168.6.45:8080/job/Fortify_WebApplication1/ws/WebApplication1/WebApplication1.Tests/WebApplication1.Tests.csproj"> (預設目標) (3) ->
(CoreCompile 目標) ->
<http://192.168.6.45:8080/job/Fortify_WebApplication1/ws/WebApplication1/WebApplication1.Tests/Util/PlanUtilTests.cs(2,14)>: error CS0234: 命名空間 'WebApplication1' 中沒有類型或命名空間名稱 'Models' (是否遺漏了組件參考?) [<http://192.168.6.45:8080/job/Fortify_WebApplication1/ws/WebApplication1/WebApplication1.Tests/WebApplication1.Tests.csproj]>
<http://192.168.6.45:8080/job/Fortify_WebApplication1/ws/WebApplication1/WebApplication1.Tests/Util/TodoUtilTests.cs(2,14)>: error CS0234: 命名空間 'WebApplication1' 中沒有類型或命名空間名稱 'Models' (是否遺漏了組件參考?) [<http://192.168.6.45:8080/job/Fortify_WebApplication1/ws/WebApplication1/WebApplication1.Tests/WebApplication1.Tests.csproj]>
306 個警告
2 個錯誤
經過時間 00:00:58.85
Build step 'Build a Visual Studio project or solution using MSBuild' marked build as failure
(完)
沒有留言:
張貼留言