[JIRA] (JENKINS-57924) kubernetes-pipeline-plugin: ERROR: Labels must follow required specs

0 views
Skip to first unread message

lihai.swu@gmail.com (JIRA)

unread,
Jun 10, 2019, 12:19:02 AM6/10/19
to jenkinsc...@googlegroups.com
Hai Li created an issue
 
Jenkins / Bug JENKINS-57924
kubernetes-pipeline-plugin: ERROR: Labels must follow required specs
Issue Type: Bug Bug
Assignee: Ioannis Canellos
Components: kubernetes-pipeline-plugin
Created: 2019-06-10 04:18
Priority: Blocker Blocker
Reporter: Hai Li

Running into following issue:
[Pipeline] {[Pipeline] stage[Pipeline]

{ (1)[Pipeline] podTemplate[Pipeline] // podTemplate[Pipeline] }

[Pipeline] // stage[Pipeline] }[Pipeline] // node[Pipeline] End of PipelineERROR: Labels must follow required specs -
https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set
: [container:null]test_1_27
Finished: FAILURE
 

The root cause is from https://github.com/jenkinsci/kubernetes-pipeline-plugin/blob/master/kubernetes-steps/src/main/resources/io/fabric8/kubernetes/pipeline/Kubernetes.groovy#L371

 

It passed `container: name` to inside function. The label does not follow the syntax per log. It blocks the usage of this plugin.

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages