Branch: refs/heads/defect/war Home: https://github.com/jenkinsci/job-dsl-plugin Commit: 48bad8fe68042ff5ab8271cd5259e1f4abdf35ac https://github.com/jenkinsci/job-dsl-plugin/commit/48bad8fe68042ff5ab8271cd5259e1f4abdf35ac Author: Jamie Tanna <ja...@jamietanna.co.uk> Date: 2021-10-27 (Wed, 27 Oct 2021)
Changed paths: M job-dsl-plugin/build.gradle Log Message: ----------- Fix: Add missing Jenkins WAR dependency Unfortunately tests were failing after the upgrade to JPI plugin v0.43.0, due to [0]. To solve this, we make sure we re-add it for runtime only, using the Jenkins version we're targeting. [0]: https://github.com/jenkinsci/gradle-jpi-plugin/issues/190#issuecomment-950010526 Commit: 6b3e9f1be59e49a64c8f81ca1f3fdb63a825bed9 https://github.com/jenkinsci/job-dsl-plugin/commit/6b3e9f1be59e49a64c8f81ca1f3fdb63a825bed9 Author: Jamie Tanna <ja...@jamietanna.co.uk> Date: 2021-10-27 (Wed, 27 Oct 2021) Changed paths: M .gitignore M job-dsl-plugin/build.gradle Log Message: ----------- Fix: Copy the API Viewer resources into the built plugin As mentioned in JENKINS-66988, we currently are not producing the API Viewer in the built plugin. This is due to [0], in which the JPI plugin ignores any processing of the WAR that we do separately. As an intermediate solution, we can make sure that we copy the files into the `src/main/webapp` directory, so it is present for the plugin. This requires that we then exclude the files from Git, as we want them to only be generated, but we need to make sure that `config.json` is still included. Finally, we make sure that the `jpi` task depends on the copying of files, for standalone building of the plugin, and the `copyApiViewer` depends on the build process for the `api-viewer` project. [0]: https://github.com/jenkinsci/gradle-jpi-plugin/issues/193 Compare: https://github.com/jenkinsci/job-dsl-plugin/compare/48bad8fe6804%5E...6b3e9f1be59e -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/job-dsl-plugin/push/refs/heads/defect/war/000000-6b3e9f%40github.com.