Hi, All

This is about writing/changing a jenkins plugin - speicially on its URL.


Say I have a plugin which will generate a report, so I will have an Action:

class MyAction implements Action {
    public String getUrlName() { 
        return "a_sample_report";
    }
}

And I attached this Action to to project level, and I will access this 
report as:

job/$job_name/a_sample_report


But I want to make sure all reports URL could be uniquely identified, so I 
want the URL be like:

job/$job_name/*reports*/a_sample_report

Simply change getUrlName to return "reports/a_sample_report" doesn't work.

What is the right way to achieve this in jenkins?

Thanks very much!

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4e950fbb-bd64-4eaa-a5b2-84771922aafe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to