Reputation: 151
I have used configuration-as-code plugin to add some plugins to Jenkins. Provided below is my yaml file.
jenkins:
systemMessage: "welcome"
plugins:
required:
mesos: latest
But it gives following exception
Any help on how to fix this issue would be appreciated.
Upvotes: 1
Views: 78
Reputation: 8107
Current version of Jenkins Configuration as Code (a.k.a. JCasC
) i.e., 1.29
does not support plugin installation.
For installation of plugins, you will have to use one of these as per official link:
Dockers users can use: https://github.com/jenkinsci/docker/#preinstalling-plugins
Kubernetes users: https://github.com/helm/charts/tree/master/stable/jenkins
Also check ISSUE-962
Upvotes: 1