Hi everyone!

Is there a way to rewrite or redirect URLs in Jenkins?

Here's the Problem that I'm trying to solve:

Currently, we have projects that may be linked somewhere (e.g. in documentations, wiki pages etc.) trough a link that contains the view. They look something like this:

http://hostname:8280/jenkins/view/viewName/job/jobName/

What I'm trying to achieve is that if you open this URL in your browser, you will be redirected to

http://hostname:8280/jenkins/job/jobName/

The reason why I want to do this: I'd like to be independent of views and their names for links to jobs. Even if someone used the view in a job URL, the URL should work regardless of the view itself working or not. Thus I could delete views that aren't needed any more but the links would still work.

Jenkins is running in a Tomcat as container. I know the problem could be solved using an Apache HTTP Server (or an other HTTP server for that matter), but that ain't an option at the moment.

Regards
Steffen

--
You received this message because you are subscribed to the Google Groups "Jenkins 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to