-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major
-
Component/s: kubernetes-plugin
-
None
-
Environment:Weekly build of Jenkins on Azure
I'm experiencing "local headers refused by remote: Unknown client name: mypod-2fm2d-h2rt0"
It happens for following Jenkinsfile:
Â
pipeline {
agent {
kubernetes {
label 'mypod'
containerTemplate {
name 'maven'
image 'maven:3.3.9-jdk-8-alpine'
ttyEnabled true
command 'cat'
}
}
}
environment {
CONTAINER_ENV_VAR = 'container-env-var-value'
}
stages {
stage('Run maven') {
steps {
container('maven') {
sh 'echo INSIDE_CONTAINER_ENV_VAR = ${CONTAINER_ENV_VAR}'
sh 'mvn -version'
}
}
}
}
}
Â
- duplicates
-
JENKINS-44042 jnlp slave ConnectionRefusalException None of the protocols were accepted
-
- Resolved
-