Reputation: 514
I have a running Jenkins container on Docker. But when I build a job in Jenkins it gives the following error:
ant: not found
I referred to following question Ant not working with Jenkins within a Docker container but this also didn't worked.
Then I tried running ANT using
docker run -p 8084:8084 --name=ant-on-docker webratio/ant
but this also gives the same error that ant is not found.
Upvotes: 0
Views: 4158
Reputation: 514
Finally after a day, find a solution by myself. Issue was the container did't had access to the ant. So good to know these things:
Upvotes: 3