Open pedrohdz opened 4 years ago
Just hit this myself.. any updates on your end @pedrohdz
Sooo I poked around, using different versions for the cloudbees-folder plugin. Then at 6.7
I saw the following error..
0.976 [id=61] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin Folders Plugin v6.7 (cloudbees-folder)
java.io.IOException: Folders Plugin v6.7 failed to load.
- You must update Jenkins from v2.121 to v2.130 or later to run this plugin.
I then checked my jenkin server's version and it was 2.190.2
, so substituting these version with gradle dependencySubstitution
It worked!
Bump the jenkins-war
version to a appropriate version. via dependency substitution.
build.gradle
configurations.all {
resolutionStrategy.dependencySubstitution {
substitute module("org.jenkins-ci.main:jenkins-war:2.121") because "Version we use" with module("org.jenkins-ci.main:jenkins-war:2.190.2")
substitute module("org.jenkins-ci.main:jenkins-war:2.190.2")
}
}
All version of the jenkins-war can be found
Maybe Cyprien's comment helps you as well: https://issues.jenkins.io/browse/JENKINS-68216?focusedId=427167&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-427167
Just upgrading
org.jenkins-ci.plugins:cloudbees-folder
from6.1.2
to6.11.1
is giving the error:version 5.14 or later of plugin 'cloudbees-folder' needs to be installed
This also happening with
org.jenkins-ci.plugins.workflow:workflow-multibranch:2.21
Happens when running
./gradlew clean jobDslTest
./build.gradle
:./src/jobs/dsl.groovy
:Error from
build/reports/tests/jobDslTest/classes/com.aoe.gradle.jenkinsjobdsl.JobScriptsSpec.html
:Let me know if any other information is required.
Any assistance would be appreciated.
Thanks!