custom-tools-plugin
custom-tools-plugin copied to clipboard
JENKINS-60045 doesn`t fully implemented.
Original issue is that JCasC could create jenkins.yaml for customTool section. It happened, because, io.jenkins.plugins.casc.impl.configurators.DataBoundConfigurator.describe(DataBoundConfigurator.java:299) could work with Arrays. It was fixed with https://github.com/jenkinsci/configuration-as-code-plugin/pull/1234/ . Now it is possible to create quite correct jenkins.yaml, but Jinkins can`t be started it. JENKINS-60976.
This fix replaces array to list provide opportunity to create yaml and configure Jenkins.
Previous pull request could be deleted. Sorry for mess.
[2020-02-06T13:26:34.072Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project custom-tools-plugin: Compilation failure
[2020-02-06T13:26:34.072Z] [ERROR] /home/jenkins/workspace/lugins_custom-tools-plugin_PR-49/src/test/java/com/synopsys/arc/jenkins/plugins/customtools/versions/ToolVersionParameterDefinitionTest.java:[20,62] package com.cwctravel.hudson.plugins.extended_choice_parameter does not exist
Looks like I will need to join and help to cleanup the PRs