[JIRA] (JENKINS-57676) Git Plugin: Could not resolve host: github.com

10 views
Skip to first unread message

o.v.nenashev@gmail.com (JIRA)

unread,
May 27, 2019, 2:05:02 AM5/27/19
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
 
Jenkins / Bug JENKINS-57676
Git Plugin: Could not resolve host: github.com
Change By: Oleg Nenashev
Summary: Suppressed Git Plugin : hudson.remoting.Channel$CallSiteStackTrace Could not resolve host : Remote call to JNLP4-connect connection from 10 github . 244.0.51/10.244.0.51:58278 com
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

o.v.nenashev@gmail.com (JIRA)

unread,
May 27, 2019, 2:06:01 AM5/27/19
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Component/s: _unsorted
Component/s: slave-utilization-plugin

o.v.nenashev@gmail.com (JIRA)

unread,
May 27, 2019, 2:06:02 AM5/27/19
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Bug JENKINS-57676
 
Re: Git Plugin: Could not resolve host: github.com

"Could not resolve host: github.com" maybe your DNS setup is broken OR the network is restricted.

venkatesh100dollars@gmail.com (JIRA)

unread,
May 27, 2019, 1:27:02 PM5/27/19
to jenkinsc...@googlegroups.com

Oleg Nenashev  

How to fix DNS setup issue or how to overcome network restriction issue pls suggest

 

 

I setupped kubernates cluster and jenkins on CentOS  VM on hypervisor

i'm using jenkins script which is as below

 
podTemplate(label: 'test-pod',
containers: [
containerTemplate(
name: 'jnlp',
image: 'jenkinsci/jnlp-slave:3.10-1-alpine',
args: '${computer.jnlpmac{color:#ce9178}} $color}computer.name{color:#ce9178'
),

containerTemplate(
name: 'maven',
image: 'zenika/alpine-maven',
command: 'cat',
ttyEnabled: true
),
],
volumes: [
hostPathVolume(mountPath: '/var/run/docker.sock', hostPath: '/var/run/docker.sock'),
]
)
{
node('test-pod') {
stage ('Checkout Code') {
git branch: 'master',
credentialsId: '*******************',
url: 'https://github.com/venkatesh/microservices.git'

sh "ls -lat"
stash name: "first-stash", includes: "*/"
}

stage ('Test stage') {
container('maven') {
echo "under maven >>>>>>>>>>>>>>>>>>>>>>>"
sh 'mvn -version'
dir("first-stash") {
unstash "first-stash"
}
sh "ls -la ${pwd(){color:#ce9178}}"
sh
"ls -la ${pwd(){color:#ce9178}}/first-stash"
}

}
}
{color:#d4d4d4}}

venkatesh100dollars@gmail.com (JIRA)

unread,
May 27, 2019, 1:28:02 PM5/27/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
May 27, 2019, 1:46:01 PM5/27/19
to jenkinsc...@googlegroups.com
Oleg Nenashev updated Bug JENKINS-57676
 

This is a bugtracker, not a support site. Please ask in other channels like stackoverflow

Change By: Oleg Nenashev
Status: Open Fixed but Unreleased
Resolution: Not A Defect
Reply all
Reply to author
Forward
0 new messages