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
92 views

1 answer to this question.

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,430 points
398 views
+1 vote
4 answers
+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
3,487 views
+2 votes
5 answers