Modify

Opened 12 years ago

Last modified 2 weeks ago

#10129 assigned enhancement

Multiple job_url/main_page support

Reported by: Shawn Baker Owned by: Dirk Stöcker
Priority: normal Component: HudsonTracPlugin
Severity: normal Keywords:
Cc: tanguyr@… Trac Release: 0.11

Description

I would like to have the ability to only integrated specific projects between Jenkins and Trac. Currently, you can integrate one project, or all projects, but not specific projects:

I could see the format as:

job_url1 = http://localhost/hudson/job/build_foo1/
main_page1 = /hudson/job/build_foo1/
job_url2 = http://localhost/hudson/job/build_foo2/
main_page2 = /hudson/job/build_foo2/

or even a comma separated list:

job_url = http://localhost/hudson/job/build_foo1/,http://localhost/hudson/job/build_foo2/
main_page = /hudson/job/build_foo1/,/hudson/job/build_foo2/

Attachments (0)

Change History (8)

comment:1 Changed 12 years ago by anonymous

Cc: tanguyr@… added; anonymous removed

comment:2 Changed 12 years ago by Ryan J Ollos

Cc: Ryan J Ollos added

comment:3 Changed 11 years ago by Hannes

You can integrate specific projects from a Jenkins server by creating a "view" in Jenkins which includes only those projects, and settting job_url = http://localhost/hudson/view/foo

I think the `job_url` documentation should be extended to mention that it can also point at a view.

comment:4 Changed 5 years ago by Ryan J Ollos

Cc: Ryan J Ollos removed

comment:5 Changed 13 months ago by Ryan J Ollos

Owner: changed from roadrunner to Dirk Stöcker
Status: newassigned

comment:6 Changed 13 months ago by Dirk Stöcker

Is this still relevant to anyone?

comment:7 in reply to:  4 Changed 2 weeks ago by anonymous

Replying to Ryan J Ollos: It doesn't work for me.

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Пакет	Версия
Trac 	1.6
Babel 	2.10.3
Docutils 	0.19
GIT 	2.39.5
Jinja2 	3.1.2
mod_wsgi 	4.9.4 (WSGIProcessGroup WSGIApplicationGroup localhost|/trac)
MySQL 	server: "5.5.5-10.11.6-MariaDB-0+deb12u1", client: "1.0.2", thread-safe: True
Pygments 	2.14.0
pymysql 	1.0.2
Python 	3.11.2 (main, Sep 14 2024, 03:00:30) [GCC 12.2.0]
pytz 	2022.7.1
setuptools 	66.1.1
Subversion 	1.14.2 (svn client)
Subversion 	1.14.2 (r1899510)
jQuery	3.6.1
jQuery UI	1.13.2
jQuery Timepicker	1.6.3
HudsonTrac 	1.0 	/usr/local/lib/python3.11/dist-packages/HudsonTrac-1.0-py3.11.egg 

comment:8 Changed 2 weeks ago by anonymous

You can integrate specific projects from a Jenkins server by creating a "view" in Jenkins which includes only those projects, and settting job_url = http://localhost/hudson/view/foo

It doesn't work for me.

Last edited 2 weeks ago by Jun Omae (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Dirk Stöcker.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.