-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins 2.33,
pipeline 2.4,
cucumber-slack-notifier 0.8.3
I am using CucumberReportPublisher to publish the Cucumber reports.
I can browse the report in Jenkins, links, captured screenshots and trend graphs all work fine.
I then added cucumber-slack-notifier and although it does send the result summary to Slack the links in the Slack message don't resolve as they don't include the job name:
Here's the job:
node { // CucumberReportPublisher step here cucumberSlackSend channel: '#test', failOnError: true, json: '.cucumber/features.json' }
Here's the url to one of the features in the published Cucumber report in Jenkins:
Link to the same feature in the Slack message:
Link to the build in the Slack message:
https://jenkins/job/DEVOPS-309_capture-cucumber-reports/2/cucumber-html-reports/
The actual working link:
https://jenkins/job/Casebook/job/DEVOPS-309_capture-cucumber-reports/2/cucumber-html-reports
[JENKINS-40185] The links in the slack notifications don't resolve
Description |
Original:
I am using {{CucumberReportPublisher}} to publish the Cucumber reports. I can browse the report in Jenkins, links, captured screenshots and trend graphs all work fine. I then added {{cucumber-slack-notifier}} and although it does send the result summary to Slack the links in the Slack message don't resolve as they don't include the job name: Here's the job: {code:java} node { // CucumberReportPublisher step here cucumberSlackSend channel: '#test', failOnError: true, json: '.cucumber/features.json' } {code} Here's the url to one of the features in the published Cucumber report in Jenkins: {{https://jenkins/job/ProjectA/job/DEVOPS-309_capture-cucumber-reports/2/cucumber-html-reports/report-feature_features-add_new_client-feature.html}} Link to the same feature in the Slack message: {{https://jenkins/job/DEVOPS-309_capture-cucumber-reports/2/cucumber-html-reports/features/add_new_client-feature.html}} Link to the build in the Slack message: {{https://jenkins/job/DEVOPS-309_capture-cucumber-reports/2/cucumber-html-reports/}} The actual working link: {{https://jenkins/job/Casebook/job/DEVOPS-309_capture-cucumber-reports/2/}} |
New:
I am using {{CucumberReportPublisher}} to publish the Cucumber reports. I can browse the report in Jenkins, links, captured screenshots and trend graphs all work fine. I then added {{cucumber-slack-notifier}} and although it does send the result summary to Slack the links in the Slack message don't resolve as they don't include the job name: Here's the job: {code:java} node { // CucumberReportPublisher step here cucumberSlackSend channel: '#test', failOnError: true, json: '.cucumber/features.json' } {code} Here's the url to one of the features in the published Cucumber report in Jenkins: {{https://jenkins/job/ProjectA/job/DEVOPS-309_capture-cucumber-reports/2/cucumber-html-reports/report-feature_features-add_new_client-feature.html}} Link to the same feature in the Slack message: {{https://jenkins/job/DEVOPS-309_capture-cucumber-reports/2/cucumber-html-reports/features/add_new_client-feature.html}} Link to the build in the Slack message: {{https://jenkins/job/DEVOPS-309_capture-cucumber-reports/2/cucumber-html-reports/}} The actual working link: {{https://jenkins/job/Casebook/job/DEVOPS-309_capture-cucumber-reports/2/cucumber-html-reports}} |