Home Understand Error build DELPHI app with JENKINS
Reply: 0

Understand Error build DELPHI app with JENKINS

user1526
1#
user1526 Published in July 18, 2018, 6:25 am

I try to use Jenkins as a build tool for my DELPHI apps. I followed the instructions as given here tutorial DELPHI with JENKINS , some of my apps failed with the following consolde output.

here is the Batch file content

call "C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\rsvars.bat"
echo PATH TO PROJECT 
cd %1
echo  PROJECTNAME 
msbuild %2

the Build action is defined as following

%JENKINS_HOME%\jobs\build.bat "%WORKSPACE%\test"   ProjectFile.dproj

How to understand and fix this error, as the app is compiling within DELPHI IDE without any issue. The path mentioned in the error msg does not exist on my computer

Build started 15.04.2018 21:58:59.
Project "C:\.....\Tool.dproj" on node 0 (default targets).
C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\CodeGear.Common.Targets : warning : Expected configuration file missing - C:\Windows\system32\config\systemprofile\AppData\Roaming\Embarcadero\BDS\19.0\EnvOptions.proj
_PasCoreCompile:
  Embarcadero Delphi for Win32 compiler version 32.0
  Copyright (c) 1983,2017 Embarcadero Technologies, Inc.
C:\Program Files (x86)\Embarcadero\Studio\19.0\Bin\CodeGear.Delphi.Targets(399,5): error E1026: File not found: 'Controls.res'
C:\Program Files (x86)\Embarcadero\Studio\19.0\Bin\CodeGear.Delphi.Targets(399,5): error E1026: File not found: 'Tabs.res'
Done Building Project "C:\....\Tool.dproj" (default targets) -- FAILED.

Build FAILED.
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.317709 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO