Plugin example for Report Portal
UI
Preconditions:
- Install Node.js version ≥ 12.
Install the dependencies: npm install
Run in dev mode:
npm run dev # Run webpack in dev watch mode
npm run start # Serve built files
Available only from RP v5.8: use
window.RP.overrideExtension(pluginName, url);
to override the plugin UI assets in favor of your local development changes, f.e.
window.RP.overrideExtension('example', 'http://localhost:9090');
Build the UI source code: npm run build
How it works: UI plugin docs.
Build the plugin
Preconditions:
- Install JDK version 11.
- Specify version number in gradle.properties file.
Build the plugin: gradlew build