Closed gmacario closed 5 years ago
The configuration-as-code-plugin removed support for the <plugin>
root element since v1.8.
See https://github.com/jenkinsci/configuration-as-code-plugin/releases/tag/configuration-as-code-1.8
WORKAROUND: Edit file casc_plugins/gmpowerhorse.yaml
gmacario@gmpowerhorse:~/github/gmacario/easy-jenkins (master)*$ git diff
diff --git a/casc_configs/gmpowerhorse.yaml b/casc_configs/gmpowerhorse.yaml
index c3fd6b2..b8875a3 100644
--- a/casc_configs/gmpowerhorse.yaml
+++ b/casc_configs/gmpowerhorse.yaml
@@ -1,9 +1,9 @@
# File: casc_plugins/gmpowerhorse.yaml
-plugins:
- sites:
- - id: "default"
- url: "https://updates.jenkins.io/update-center.json"
+# plugins:
+# sites:
+# - id: "default"
+# url: "https://updates.jenkins.io/update-center.json"
jenkins:
agentProtocols:
- "JNLP4-connect"
gmacario@gmpowerhorse:~/github/gmacario/easy-jenkins (master)*$ vi casc_configs/gmpowerhorse.yaml
gmacario@gmpowerhorse:~/github/gmacario/easy-jenkins (master)*$ git diff
diff --git a/casc_configs/gmpowerhorse.yaml b/casc_configs/gmpowerhorse.yaml
index c3fd6b2..2d78c89 100644
--- a/casc_configs/gmpowerhorse.yaml
+++ b/casc_configs/gmpowerhorse.yaml
@@ -1,9 +1,5 @@
# File: casc_plugins/gmpowerhorse.yaml
-plugins:
- sites:
- - id: "default"
- url: "https://updates.jenkins.io/update-center.json"
jenkins:
agentProtocols:
- "JNLP4-connect"
gmacario@gmpowerhorse:~/github/gmacario/easy-jenkins (master)*$
Reproduced on host gmpowerhorse after executing
Error message displayed on http://gmpowerhorse.gmacario.it:9080/