Jenkins unable to install plugin unknownhost

734 views Asked by At

I have installed Oracle VM and created a centos 7 machine in which I have installed Docker successfully

then I installed jenkins from docker image : jenkins/jenkins

in that I am not able to install plugins, it is giving me below error: java.net.UnknownHostException: mirrors.tuna.tsinghua.edu.cn

I have reinstalled couple of times but the problem still exists.

I tried to ping google in jenkins container and that is working fine.

Please help me out here.

1

There are 1 answers

0
sachin pareek On

I have found solution for this. The mirror was not working for my system due to network level restriction. After removing that it is working fine now.