https://github.com/jenkinsci/lighthouse-report-plugin
https://github.com/jenkinsci/lighthouse-report-plugin
adopt-this-plugin
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jenkinsci/lighthouse-report-plugin
- Owner: jenkinsci
- License: mit
- Created: 2019-10-21T16:05:10.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-28T14:31:05.000Z (over 2 years ago)
- Last Synced: 2025-01-30T04:41:28.538Z (8 months ago)
- Topics: adopt-this-plugin
- Language: Java
- Homepage: https://plugins.jenkins.io/lighthouse-report/
- Size: 1.17 MB
- Stars: 3
- Watchers: 4
- Forks: 3
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lighthouse-report-plugin
A simple plugin that displays a lighthouse report inside jenkins.
You can use archive() function to save files, but you cannot view any html with javascript for security reasons.
This will keep the html inside the plugin, but the data is pull in from your build result.
Report Name can also be specified to generate Lighthouse report with a specific name, supports multiple reports.
## Usage
```groovy
// Generate your lighthouse report.
node {
sh 'npx lighthouse-ci https://www.example.com --jsonReport --report=.'
lighthouseReport('./report.json')
}//Generate your lighthouse report with specific report name
node {
sh 'npx lighthouse-ci https://www.example.com --jsonReport --report=.'
lighthouseReport file: './report.json', name: 'My Report'
}
```## Screenshot
