infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-17517) Install and configure the Jenkins JIRA Trigger Plugin
Date Wed, 02 Jan 2019 16:06:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-17517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16732184#comment-16732184
] 

Allen Wittenauer commented on INFRA-17517:
------------------------------------------

[~gmcdonald]: they are asking for debug information which I don't think I have enough access
to provide.

Also: I've got groovy pipeline code written to take a file and trigger other pipeline and
freestyle jobs. (So replacing that part of precommit-admin should be trivial).  

But as I sit here looking at precommit-admin to integrate that part... I didn't realize how
massively inefficient this code is.  It puts a much bigger strain on JIRA than I had thought;
running the filter it uses pulls down 14M of data that contains *EVERY FIELD* and *EVERY COMMENT*
from every JIRA issue that gets returned! It pre-dates the REST API, so maybe that isn't too
surprising but... wow! ... (and this has been a slow two weeks!)

I've filed YETUS-754 to investigate if it's possible to tighten up the query, reduce the amount
of returned data, etc.

> Install and configure the Jenkins JIRA Trigger Plugin
> -----------------------------------------------------
>
>                 Key: INFRA-17517
>                 URL: https://issues.apache.org/jira/browse/INFRA-17517
>             Project: Infrastructure
>          Issue Type: New Feature
>          Components: Jenkins, JIRA
>            Reporter: Allen Wittenauer
>            Assignee: Gavin
>            Priority: Major
>
> Jenkins doesn't (easily) support freestyle job -> pipeline job triggers.  As a result,
precommit-admin can't really trigger pipeline jobs and many people are starting to use those
on the ASF Jenkins instance.  About 3 years ago, it would appear that the Jenkins community
caught up to where the ASF was almost 11 years ago and released a plug-in that has similar
functionality to what precommit-admin does: JIRA Trigger Plugin.  So rather than rework precommit-admin
to support this use case, it's easier to just switch to the plugin.
> Thanks!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message