In this tutorial you will learn how to create a Deployment Automation plug-in that prints “Hello World!” to the console. The example Groovy and XML files are attached to this solution. Note:
1. A directory name to identify the plugin, under which the relevant plugin source and description files will exist 2. A . groovy files contains the source code that describes the actions of the plugin 3. Several .xml files that describe the plugin
The actual plugins code is stored in the agent's folder core\var\plugins. Each folder within core\var\plugins corresponds to the downloaded version of the plugin. If you want to see actual groovy scripts used in the plugin you can start from this folder.
udeploy.environments.EnvironmentHelper.createComponentMapping(EnvironmentHelper. groovy :78) at com.urbancode.air.plugin.udeploy.environments.EnvironmentHelper$createComponentMapping.call(Unknown
at com.urbancode.ds.client.AddVersionFilesCommand.beginTransaction(AddVersionFilesCommand.java:131) at com.urbancode.ds.client.AddVersionFilesCommand.execute(AddVersionFilesCommand.java:88) at createVersion.run(createVersion. groovy :42)
at net.sf.sevenzipjbinding.SevenZip.openInArchive(SevenZip.java:567) at net.sf.sevenzipjbinding.SevenZip$openInArchive.call(Unknown Source) at extract.run(extract. groovy :48)