Skip to content

Task name refactor

Compare
Choose a tag to compare
@ghale ghale released this 24 May 07:33
· 51 commits to master since this release

This version introduces changes to refactor task names. Since v1.0.0 there has been support for both jobs and views in the plugin, so the tasks for JenkinsJobs was no longer sensical. In this release, we begin the process of deprecating those tasks and using JenkinsItems instead. The "jobs" tasks will continue to be supported, but will be fully deprecated in a future release.

  • Issue #27: Refactor task names to use JenkinsItems
  • Issue #34: Restful calls do not use full url
  • Added dumpRemoteJenkinsItems task to allow comparison of remote jobs to the local model

Breaking changes:

  • Gradle task object names have changed. JenkinsJobsTask has changed to JenkinsItemsTask (e.g. updateJenkinsJobsTask => updateJenkinsItemsTask).
  • Output pattern for dumpJenkinsItems has switched from "build/[jobs|views]/${name}-${server}-config.xml" to "build/${server}/[jobs|views]/${name}.xml".