https://github.com/jenkinsci/remoting/pull/265 introduces a working flow for integration testing which uses Custom WAR Packager together with runPCT() and runATH(). I am also working on few other flows, e.g. for Stapler.
It would be great to have a customWARPackager global variable which allows invoking particular steps we need.
- customWARPackager.with() wrapper which installs Custom WAR packager executable JAR to the environment
- customWARPackager.build() step which does the build and publishes artifacts on-demand
- configuration via Metadata YML so that we can use a single file for runPCT()/runATH() and packaging settings
- No pom.xml needed to build Custom WARs (Custom WAR Packager Maven plugin is not used)