![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
current |
|
Assignee:
|
Unassigned |
|
Attachments:
|
jenkins_systeminfo.txt |
|
Components:
|
github, maven |
|
Created:
|
27/Feb/13 10:01 AM
|
|
Description:
|
I am using the build-on commit feature with github.
- I've got a dedicated user that has pull-only to several of my repositories.
- GitHub Web Hook is configured like so:
+ "Let Jenkins auto-manage hook URLs" enabled
+ "Override Hook URL" disabled
+ "GitHub credentials" = credentials of the dedicated user
- In the job configuration, "Build when a change is pushed to GitHub" is enabled
- On github.com in the "Service Hooks" section of my repo, I've added a "WebHook URL": https://XXX/github-webhook/
I've tested the hook (using "Test Hook" button in github Service Hooks configuration) in the following cases and here is what I observe:
- OK (= a build is triggered) if the repo contains a simple maven project at the root of the repository
- OK if the repo contains several (unrelated) maven projects and jenkins job root pom points to one of the projects
- NOT OK if the repo contains a multi-module maven project at the root of the repository and jenkins job root pom points to the 'master' pom, like so:
<repo>/
pom.xml <- root pom
module1
src/
pom.xml
module2
src/
pom.xml
thanks
|
|
Environment:
|
Jenkins 1.502 (issue occured on previous versions too)
Jenkins installed using aptitude
Ubuntu 11.04 (GNU/Linux 2.6.38-11-virtual x86_64)
Oracle Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+0000)
(system info attached)
|
|
Project:
|
Jenkins
|
|
Labels:
|
build
github
maven
modules
build-on-commit
hook
|
|
Priority:
|
Major
|
|
Reporter:
|
X Y
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" 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.