[jbosstools-issues] [JBoss JIRA] (JBIDE-13286) when kicking a job, generate a comment in JIRAs which match the changes for that job's build

Nick Boldt (JIRA) jira-events at lists.jboss.org
Thu Dec 13 12:08:17 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-13286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741303#comment-12741303 ] 

Nick Boldt commented on JBIDE-13286:
------------------------------------

Additionally, if would be really useful if we could pull the commit hashes from github, query the github rest api, and get data like this:

{code:title=https://api.github.com/repos/jbosstools/jbosstools-base/git/commits/fb35c2ce3d0787946d1cf7ffad7c22b216625ed0}
{
  "tree": {
    "url": "https://api.github.com/repos/jbosstools/jbosstools-base/git/trees/43da9f474749a51919ee0b015bd81d69a780d12d",
    "sha": "43da9f474749a51919ee0b015bd81d69a780d12d"
  },
  "parents": [
    {
      "url": "https://api.github.com/repos/jbosstools/jbosstools-base/git/commits/09ffec0da4fbd698f7649cc7b1672af9b18779c8",
      "sha": "09ffec0da4fbd698f7649cc7b1672af9b18779c8"
    }
  ],
  "url": "https://api.github.com/repos/jbosstools/jbosstools-base/git/commits/fb35c2ce3d0787946d1cf7ffad7c22b216625ed0",
  "sha": "fb35c2ce3d0787946d1cf7ffad7c22b216625ed0",
  "message": "JBIDE-13252 NullPointerException in AnnotationDeclaration.validateNamedValue\n\nTest is added.\n",
  "author": {
    "date": "2012-12-06T00:47:20Z",
    "email": "scabanovich at exadel.com",
    "name": "Viacheslav Kabanovich"
  },
  "committer": {
    "date": "2012-12-06T01:35:09Z",
    "email": "akazakov at exadel.com",
    "name": "Alexey Kazakov"
  }
}
{code}

This could either be dumped into Jenkins (via a plugin?), or perhaps better (to assist w/ non-VPN developers) it could be stuck into a file like this one:

http://download.jboss.org/jbosstools/builds/staging/jbosstools-4.0_trunk.aggregate/logs/ALL_REVISIONS.txt

                
> when kicking a job, generate a comment in JIRAs which match the changes for that job's build
> --------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-13286
>                 URL: https://issues.jboss.org/browse/JBIDE-13286
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Build/Releng
>    Affects Versions: 4.1.0.Alpha1
>            Reporter: Nick Boldt
>            Assignee: Nick Boldt
>
> Is it possible to pull the git hash value used for a given build, look into github for the matching JIRA #, and drop a comment into the JIRA to the tune of:
> "Spinning in <buildURL> >= BUILD_NUMBER"

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


More information about the jbosstools-issues mailing list