Correction message audit Lighthouse

This commit is contained in:
wpetit 2020-08-11 14:22:03 +02:00
parent 83893e65d4
commit 407fe87318
1 changed files with 3 additions and 4 deletions

View File

@ -30,7 +30,7 @@ def call() {
} }
} }
stage("Run Lighthouse and pa11y audits") { stage("Run Lighthouse audit") {
steps { steps {
script { script {
def lighthouseImage = buildDockerImage() def lighthouseImage = buildDockerImage()
@ -66,10 +66,9 @@ def call() {
rocketSend ( rocketSend (
avatar: 'https://jenkins.cadol.es/static/b5f67753/images/headshot.png', avatar: 'https://jenkins.cadol.es/static/b5f67753/images/headshot.png',
message: """ message: """
Les audits pour `${params.url}` sont terminés: L'audit Lighthouse pour `${params.url}` est terminé:
- [Voir le rapport Lighthouse (bonnes pratiques)](${env.BUILD_URL}Rapports_20d_27audit/lighthouse.report.html) - [Voir le rapport](${env.BUILD_URL}Rapports_20d_27audit/lighthouse.report.html)
- [Voir le rapport pa11y (accessibilité)](${env.BUILD_URL}Rapports_20d_27audit/pa11y.report.html)
[Lancer un nouvel audit](${env.BUILD_URL}../build) [Lancer un nouvel audit](${env.BUILD_URL}../build)