-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
Running into following issue:
[Pipeline] {[Pipeline] stage[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.