NodeJS plugin development guidelines
Plugin development framework description
I. The overall structure of the plugin code project is as follows:
II. How to develop plugins:
Reference
Create plugin code project
Plug-in code is recommended to be managed in a unified manner. Generic open source plug-ins can be placed under ci-plugins
modify the package name with a recognizable name, it is recommended that can be consistent with the plug-in logo
Implement the plugin functionality
III. How to package and release:
enter the root directory of the plug-in code project
execute the package command package
create a new folder in any location, name example: release_pkg = ${your plugin logo}_release
Copy the package produced in step 2 to ${release_pkg}
Add the task.json file to ${release_pkg} under task.json See the example to configure it according to the plugin functionality.
task.json example.
In the ${release_pkg} directory, just make a
zip
package of all the files Example ofzip
package structure.
After the package is finished, raise a release order in the plugin workbench to test or release the plugin
Last updated