Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a page explaining how to change the default "notification" URL interface #6137

Open
lemeurherve opened this issue Mar 10, 2023 · 4 comments
Labels
documentation Jenkins documentation, including user and developer docs, solution pages, etc.

Comments

@lemeurherve
Copy link
Member

Describe your use-case which is not covered by existing documentation.

There doesn't seem to be any page on jenkins.io explaining how to change the default "notification" URL interface to use the Classic UI or the Pipeline Graph View plugin for example instead of Blue Ocean.

Noticed via jenkinsci/pipeline-graph-view-plugin#245

Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.

The only reference I found is https://docs.cloudbees.com/docs/cloudbees-ci-kb/latest/client-and-managed-masters/how-to-point-notification-links-to-classic-jenkins-path-rather-than-to-blueocean-endpoint

@lemeurherve lemeurherve added the documentation Jenkins documentation, including user and developer docs, solution pages, etc. label Mar 10, 2023
@KalleOlaviNiemitalo
Copy link
Contributor

KalleOlaviNiemitalo commented Mar 11, 2023

Currently, the system property or environment variable somewhat overrides per-user settings. See jenkins-infra/helpdesk#2833 (comment) and JENKINS-69006.

@lemeurherve
Copy link
Member Author

lemeurherve commented Mar 11, 2023

I knew I forgot something, thanks for the reminder @KalleOlaviNiemitalo!

About this issue, getting a page explaining how users can set their prefered viewer would be nice already.

Regarding JENKINS-69006 I saw you've already found where the regression came, do you mind if I try to implement the fix you've proposed in https://issues.jenkins.io/browse/JENKINS-69006?focusedCommentId=428019, with you as co-author of course?

@KalleOlaviNiemitalo
Copy link
Contributor

I actually started working on it last weekend, at https://github.com/KalleOlaviNiemitalo/display-url-api-plugin/compare/master...defer-config; but I referenced the wrong Jira issue and did not update tests yet.
If you can spend the time to fix the issue, that's great.

@dwnusbaum
Copy link
Contributor

For what it's worth, I just fixed JENKINS-69006 in display-url-api 2.3.9, and I added a global configuration page to configure a default provider as well (JENKINS-43205) so that users don't need to set environment variables/system properties unless they really want to. See jenkinsci/display-url-api-plugin#202.

I also updated pipeline-graph-view to activate automatically by default if no preference is configured (matches the behavior of blueocean-display-url), see jenkinsci/pipeline-graph-view-plugin#29.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Jenkins documentation, including user and developer docs, solution pages, etc.
Projects
None yet
Development

No branches or pull requests

3 participants