jenkins and ant setup

+1 vote

Hi Team,

we are setup jenkins with Ant plugin while creating build getting below error.

[Project1] $ cmd.exe /C '"ant.bat && 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
May 15 by sravan
• 150 points
37 views

1 answer to this question.

0 votes

Hi@sravan,

I am not sure about your use case. But whenever you install some plugin in jenkins, it should be present in your system also.

I suggest you to install all the software in your system first, where you configured your jenkins. After that install all plugins in your jenkins. If your plugins install properly, then restart your jenkins.

Now go to your jenkins and click on manage jenkins. There you can easily find configure system. Click on configure system and set all the path of your software that you install in your system.

Follow all the steps and try once again.

answered May 15 by MD
• 24,500 points

Related Questions

+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,420 points
498 views
0 votes
1 answer
0 votes
2 answers

RVM and Jenkins setup

Try this: . $(/home/RVM_USER/.rvm/bin/rvm env 1.9.3@rails-3.2.3 --path) make sure ...READ MORE

answered Aug 10, 2018 in Jenkins by Nilesh
• 6,960 points
340 views
0 votes
1 answer

How can I create global macros and templates in jenkins job builder?

you can append the path to the ...READ MORE

answered Apr 2, 2018 in Jenkins by ajs3033
• 7,280 points
494 views
0 votes
1 answer
0 votes
1 answer

Is there any difference between jenkins ssh publishers and ansible?

In a Layman’s language they're the same ...READ MORE

answered Apr 9, 2018 in DevOps & Agile by shubham
• 6,910 points
268 views
0 votes
2 answers

Is possible for Jenkins to auto start and stop slave nodes?

Try Jenkins Plugin called as Slave SetupPlugin. This ...READ MORE

answered Aug 6, 2018 in Jenkins by Nilesh
• 6,960 points
1,949 views