Error while requesting Build - Integrating with Jazz SCM and Builds from Hudson/Jenkins using the Team Concert Plugin
I have integrated Jazz SCM and Builds from Hudson/Jenkins using the Team Concert Plugin by following the steps given in the link https://jazz.net/wiki/bin/view/Main/JazzScmWithJenkinsPlugin . I am using CLM 6.0.6, RTC Eclipse client 6.0.5 and Jenkins Jenkins ver. 2.164.2 . Now when I request Build from Jenkins or RTC it given below error . To ensure my path to ant.bat, I have set my System variable= C:\apache-ant-1.9.14 and path = %ANT_HOME%\bin . But still its showing me the same error.
Please let me know if I have missed any configuration or any step which is causing this. Have anyone come across such issue?
Started by user Deepali Building on master in workspace C:\Program Files (x86)\Jenkins\workspace\compile-and-test RTC : checkout... RTC Checkout : Source control setup RTC Checkout : Accepting changes into workspace "Compile-and-test developer Workspace" ... Using build definition configuration. Fetching files from repository workspace "Compile-and-test developer Workspace". RTC Checkout : Fetching files to fetch destination "C:\Program Files (x86)\Jenkins\workspace\compile-and-test\BuildRepository" ... RTC Checkout : Fetching Completed [compile-and-test] $ cmd.exe /C "ant.bat -file build.xml -DbuildResultIUUID=" " '"-DrepositoryAddress=https://l-8728.xyz.com:9443/ccm buildDefinitionId=compile-and-test-1"' all -lib /Users/deepalin3/jenkinsdemo/TeamConcertBuild/buildsystem/buildtoolkit -lib /Users/deepali/jenkinsdemo/ecj-3.8.1.jar && exit %%ERRORLEVEL%%" 'ant.bat' is not recognized as an internal or external command, operable program or batch file. Build step 'Invoke Ant' marked build as failure Finished: FAILURE
One answer
The error, to me, quite clearly states that it does not find the ant.bat file
'ant.bat' is not recognized as an internal or external command,
operable program or batch file.
We are not even talking doing anything with ant here. The error message is quite clear as well.