Error saying "FATAL: command execution failed.Maybe you need to configure the job to choose one of your Ant installations?" - Jenkins

0 votes

I'm trying to execute a java code on Jenkins and it throws me the following error:

FATAL: command execution failed.Maybe you need to configure the job to choose one of your Ant installations?

I've executed the exact thing on Eclipse and it works perfectly fine.

May 16 in Jenkins by Mihir
21 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Hey @Mihir,

Changing Ant version from default to Ant fixed the errors.

answered May 16 by Vedant

Related Questions In Jenkins

0 votes
1 answer
0 votes
1 answer

Error Jenkins: Failed to connect to repository

This happens when you create the ssh ...READ MORE

answered Jul 6, 2018 in Jenkins by Sophie may
• 9,090 points
296 views
+1 vote
4 answers
0 votes
1 answer

How to get the Maven Version of a project in Jenkins?

Follow the below steps: 1.      Install the Groovy ...READ MORE

answered Aug 9, 2018 in Jenkins by Sophie may
• 9,090 points
142 views
+13 votes
2 answers
0 votes
1 answer
0 votes
5 answers

How to resolve this error “Jenkins Host key verification failed”?

HI Mam, Please check the following solution:: 1. Switch ...READ MORE

answered May 3 in Jenkins by anonymous
2,113 views
+2 votes
5 answers

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.