[JIRA] (JENKINS-57374) Redirect URL uses the Blueocean URL rather than the classic one

16 views
Skip to first unread message

croydondias@gmail.com (JIRA)

unread,
May 8, 2019, 10:45:02 AM5/8/19
to jenkinsc...@googlegroups.com
Croydon Dias created an issue
 
Jenkins / Improvement JENKINS-57374
Redirect URL uses the Blueocean URL rather than the classic one
Issue Type: Improvement Improvement
Affects Versions: current
Assignee: Unassigned
Components: mailer-plugin
Created: 2019-05-08 14:44
Priority: Major Major
Reporter: Croydon Dias

When using Jenkins internally, it is sometimes needed to restrict sending e-mail notification external.

There should be possible to add allowed domains in which to send e-mails to.

When using Git as VCS the e-mail address of the committers is stored with the commit, and the mailer will the try to send to all users that might have broken the build.

If you have cloned an open source project and regularly pulls updates from upstream the mailer might start sending mails to those upstream committers.

That is not what you want from an internal Jenkins instance.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

croydondias@gmail.com (JIRA)

unread,
May 8, 2019, 10:46:01 AM5/8/19
to jenkinsc...@googlegroups.com

croydondias@gmail.com (JIRA)

unread,
May 8, 2019, 10:51:02 AM5/8/19
to jenkinsc...@googlegroups.com
Croydon Dias updated an issue
When using Jenkins internally, it is sometimes needed to restrict sending e mailer - mail notification external plugin v1 . 23
display-url-api v2.3.0
There should be possible to add allowed domains in which to send e blueocean - mails to display-url v2 . 2.0

When using Git as VCS the e As per JENKINS - mail address of the committers is stored with the commit 41578 , and the mailer will the try to send to all users that might have broken the build I've set {{JENKINS_DISPLAYURL_PROVIDER=org . jenkinsci.plugins.displayurlapi.ClassicDisplayURLProvider}}

If you have cloned an open source project and regularly pulls updates from upstream On a failure email by the mailer might start  sending mails to those upstream committers. plugin, the resulting email has the following URL

That is not what you want from an internal Jenkins instance.
{{http://<root-url>/jenkins/webapp/job/sample-job/3641/display/redirect?page=changes}}

croydondias@gmail.com (JIRA)

unread,
May 8, 2019, 10:52:02 AM5/8/19
to jenkinsc...@googlegroups.com
Croydon Dias updated an issue
mailer-plugin v1.23
display-url-api v2.3.0
blueocean-display-url v2.2.0
jenkins-war v2.138.2 on jdk 1.8.0_192

As per JENKINS-41578, I've set {{JENKINS_DISPLAYURL_PROVIDER=org.jenkinsci.plugins.displayurlapi.ClassicDisplayURLProvider}}

On a failure email by the mailer plugin, the resulting email has the following URL

{{http://<root-url>/jenkins/webapp/job/sample-job/3641/display/redirect?page=changes}}
This causes the page to redirect to the Blueocean url instead of the Classic URL.

snaacker.hn@gmail.com (JIRA)

unread,
Feb 14, 2020, 9:59:02 AM2/14/20
to jenkinsc...@googlegroups.com
Tran Huy commented on Bug JENKINS-57374
 
Re: Redirect URL uses the Blueocean URL rather than the classic one

I have the same issue with Jenkins 2.204.2, even I already add the environment property, email from mailer plugin still returns Blue Ocean URL.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

jenkins@gavinmogan.com (JIRA)

unread,
Feb 15, 2020, 1:40:03 PM2/15/20
to jenkinsc...@googlegroups.com
Gavin Mogan updated an issue
 
Change By: Gavin Mogan
Component/s: display-url-api-plugin
Component/s: mailer-plugin
Reply all
Reply to author
Forward
0 new messages