Quantcast

[JIRA] (JENKINS-13751) Promoted Builds plugin should pass actual/"root" job to Git plublisher

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-13751) Promoted Builds plugin should pass actual/"root" job to Git plublisher

JIRA noreply@jenkins-ci.org
Thomas Lehmann created JENKINS-13751:
----------------------------------------

             Summary: Promoted Builds plugin should pass actual/"root" job to Git plublisher
                 Key: JENKINS-13751
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13751
             Project: Jenkins
          Issue Type: Bug
          Components: promoted-builds
    Affects Versions: current
         Environment: CentOS 5.8 SunJDK 1.7.0_03-b04 and Fedora 15 OpenJDK 1.6.0_22 both on x86-64.
Both Jenkins 1.462.
Both Git Plugin 1.1.18
Both Promoted Builds Plugin 2.5
            Reporter: Thomas Lehmann


The Promoted Builds plugin should pass the actual job instance to the Git Publisher {{perform()}} when performing post-promote action.

I wondered why publishing Git tags did not work as post promote action and debugged the code a bit.

The promotion will fail with

{quote}
Promoting JOBNAME #13
failed build hudson.plugins.git.GitPublisher@7cdd86df SUCCESS
Finished: FAILURE
{quote}

In the class {{GitPublisher}} I see {{build.getProject()}} returns a project instance pointing to the build and promote. the {{getScm()}} then will of course return a NullSCM. I think {{getProject()}} should return the base/actual job so that the Git publisher wil refer to the correct project.

A Git Publisher setup as post build action works quiet fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-13751) Promoted Builds plugin should pass actual/"root" job to Git plublisher

JIRA noreply@jenkins-ci.org
 
Anthony Lucas edited a comment on Bug JENKINS-13751

Is there anything blocking the resolution of this bug? It's a pretty big one, and would really improve the usefulness of this plugin for git-based projects.

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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-13751) Promoted Builds plugin should pass actual/"root" job to Git plublisher

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Is there anything blocking the resolution of this bug? It's a pretty big one, and would reallu improve the usefulness of this plugin for git-based projects.

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
Loading...