-
Bug
-
Resolution: Fixed
-
Minor
-
-
Custom WAR Packager 1.7
It is a regression after https://github.com/jenkinsci/custom-war-packager/commit/ce66be7b8a6236171ab8e7ffa900f4a15a603742 , because "jar" dependencies always take the "core" path now and lead to noop in all other cases
% make clean build run
rm -rf tmp
java \
-jar ../../custom-war-packager-cli/target/custom-war-packager-cli-1.6-jar-with-dependencies.jar \
-configPath packager-config.yml -version 256.0-test
Picked up _JAVA_OPTIONS: -Dhttp.proxyHost=proxy.mms-dresden.de -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.mms-dresden.de -Dhttps.proxyPort=8080
Exception in thread "main" java.io.IOException: CasC section is declared, but CasC plugin is not declared in the plugins list
at io.jenkins.tools.warpackager.lib.impl.Builder.verifyConfig(Builder.java:66)
at io.jenkins.tools.warpackager.lib.impl.Builder.build(Builder.java:73)
at io.jenkins.tools.warpackager.cli.Main.main(Main.java:56)
make: *** [Makefile:15: tmp/output/target/jenkins-casc-demo-256.0-test.war] Error 1
I used the the effective pom from the jcasc plugin.
my test code can be found here https://github.com/Xaseron/custom-war-packager/tree/bugreport/demo/casc
- is related to
-
JENKINS-54340 CWP throws error if pom.xml is used for plugins and casc for configuration
- Resolved
- links to