[JIRA] (JENKINS-57449) Unable to use kubernetes agent block in declarative pipeline

5 views
Skip to first unread message

rhys@enterpriseautomation.co.uk (JIRA)

unread,
May 14, 2019, 4:36:02 AM5/14/19
to jenkinsc...@googlegroups.com
Rhys Morgan created an issue
 
Jenkins / Bug JENKINS-57449
Unable to use kubernetes agent block in declarative pipeline
Issue Type: Bug Bug
Assignee: Carlos Sanchez
Components: kubernetes-plugin
Created: 2019-05-14 08:35
Labels: plugin kuberenetes-plugin declarative
Priority: Blocker Blocker
Reporter: Rhys Morgan

When trying to use the kubernetes agent block i am presented with the error:

 
WorkflowScript: 14: Invalid agent type "kubernetes" specified. Must be one of [any, docker, dockerfile, label, none] @ line 14, column 1.
kubernetes {

 

I am using Jenkins version: 2.107.3 and kubernetes-plugin version: 1.12.2

 

I have searched but the only advice seems to be that the use of kubernetes in agent blocks requires Jenkins 2.66+

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jenkins-ci@carlossanchez.eu (JIRA)

unread,
May 14, 2019, 5:45:02 AM5/14/19
to jenkinsc...@googlegroups.com
Carlos Sanchez closed an issue as Not A Defect
 

check your jenkins startup logs, the plugin likely failed to start

Change By: Carlos Sanchez
Status: Open Closed
Resolution: Not A Defect

jglick@cloudbees.com (JIRA)

unread,
Jun 12, 2019, 3:34:07 PM6/12/19
to jenkinsc...@googlegroups.com
Jesse Glick updated an issue
Change By: Jesse Glick
Labels: declarative kuberenetes- plugin plugin
Reply all
Reply to author
Forward
0 new messages