[JIRA] (JENKINS-51446) Obtain a certain branch result
Title: Message Title Carlos Hortelano created an issue Jenkins / JENKINS-51446 Obtain a certain branch result Issue Type: Bug Assignee: Rafael Ramos Components: sonar-quality-gates-plugin Created: 2018-05-21 09:24 Priority: Minor Reporter: Carlos Hortelano Hello We are facing the issue that we only get the Quality Gate result from the master branch in Sonarqube. In case master Quality Gate is Failed, and the branch analysis we are sending to sonarqube through Jenkins is Passed, the job will be unstable or failed, because master Quality Gate is Failed. Moreover, I get this error ERROR: Build step failed with exception org.quality.gates.sonar.api.MaxExecutionTimeException: Max time to wait sonar job! do you know why is this? Regards Add Comment
[JIRA] (JENKINS-51476) Git parameter plugin is not retrieving revision number
Title: Message Title Carlos Hortelano created an issue Jenkins / JENKINS-51476 Git parameter plugin is not retrieving revision number Issue Type: Bug Assignee: Boguslaw Klimas Attachments: revision_menu.jpg Components: git-parameter-plugin Created: 2018-05-22 09:42 Environment: OS: CentOS 6.7 Jenkins version: 2.89.4 Git parameter plugin: 0.9.2 Labels: jenkins plugin git Priority: Major Reporter: Carlos Hortelano Hi, Trying to make some functional tests with git parameter plugin, I realised that when configuring "Revision" as input parameter, the list appears as it was empty. I don't have this problem when defining branch or tag as input parameters. In the image below you can see the issue I'm reporting: However, I've seen that in this list there is content, because I'm able to click on any item on it and, when launching the job, it indicates me the revision I'm working with, and it is different depending on the row of the list I clicked. In summary, the issue is that Jenkins doesn't show the revisions in the list, but they are really there. Investigating this strange behaviour I've seen this message in Jenkins log: Did not find author pattern author 2017-11-28T08:27:05+0100 This message is returned in java class RevisionInfoFactory.java, whose source code is here:
[JIRA] (JENKINS-51476) Git parameter plugin is not retrieving revision number
Title: Message Title Carlos Hortelano updated an issue Jenkins / JENKINS-51476 Git parameter plugin is not retrieving revision number Change By: Carlos Hortelano Hi, Trying to make some functional tests with git parameter plugin, I realised that when configuring "Revision" as input parameter, the list appears as it was empty. I don't have this problem when defining branch or tag as input parameters. In the image below you can see the issue I'm reporting:!revision_menu.jpg!However, I've seen that in this list there is content, because I'm able to click on any item on it and, when launching the job, it indicates me the revision I'm working with, and it is different depending on the row of the list I clicked. *In summary, the issue* *is that Jenkins doesn't show the revisions in the list, but they are really there.* Investigating this strange behaviour I've seen this message in Jenkins log: _Did not find author pattern author Carlos Beltran Hortelano Sancho < my_name carlos.beltran.hortelano.san...@everis.com > 2017-11-28T08:27:05+0100_This message is returned in java class *RevisionInfoFactory.java,* whose source code is here: *[https://github.com/jenkinsci/git-parameter-plugin/blob/master/src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/RevisionInfoFactory.java]*Analysing the code I assume that _author Carlos Beltran Hortelano Sancho < my_name carlos.beltran.hortelano.san...@everis.com > 2017-11-28T08:27:05+0100_ corresponds to _authorLine_ variable. In this case, it seems clear that the pattern that Jenkins Git parameter plugin is obtaining from Git doesn't match with the one defined here in *RevisionInfoFactory.java:*_public static final Pattern AUTHOR_LINE_PATTERN = Pattern.compile("author (.* <.*@.*>) ( __d \ \d\ {10}) ([\\+- |file://+-/ ] __d \ \d\ {4})");_ Have you found any similar issue before? Is there a plan to resolve this? Regards Add Comment
[JIRA] (JENKINS-49550) Parameterized trigger plugin v2.35 is not working in Jenkins 2.73
Title: Message Title Carlos Hortelano created an issue Jenkins / JENKINS-49550 Parameterized trigger plugin v2.35 is not working in Jenkins 2.73 Issue Type: Bug Assignee: Unassigned Attachments: manageplugins.png, postbuild_actions.png Components: parameterized-trigger-plugin Created: 2018-02-14 14:34 Environment: Jenkins version: 2.73.1 Parameterized trigger plugin version: 2.35.2 Priority: Major Reporter: Carlos Hortelano Hi, We're in the middle of a Jenkins upgrade from version 1.625.3 to version 2.73.1, and we are facing some problems with the Parameterized trigger plugin. In our old Jenkins version we've always used Parameterized trigger plugin v.2.30 and it works properly. However, when using Jenkins 2.73.1 with Parameterized trigger plugin v2.35.2 (as you can see in the attached image), it doesn't appear as a post-build action (I've attached another image showing all the options displayed), and the only solution is using "Build other project", that offers many fewer options than the plugin (only 3 vs. 7). Could anyone help me? This is a disconcerting and strange behaviour, and I haven't seen anyone else complaining about this. Thanks for your help. Regards!
[JIRA] (JENKINS-51476) Git parameter plugin is not retrieving revision number
Title: Message Title Carlos Hortelano closed an issue as Fixed Jenkins / JENKINS-51476 Git parameter plugin is not retrieving revision number Change By: Carlos Hortelano Status: Resolved Closed Add Comment This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38) -- 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 jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.190836.152698213.5406.1585847820242%40Atlassian.JIRA.
[JIRA] (JENKINS-51476) Git parameter plugin is not retrieving revision number
Title: Message Title Carlos Hortelano updated an issue Jenkins / JENKINS-51476 Git parameter plugin is not retrieving revision number Change By: Carlos Hortelano Hi, Trying to make some functional tests with git parameter plugin, I realised that when configuring "Revision" as input parameter, the list appears as it was empty. I don't have this problem when defining branch or tag as input parameters. In the image below you can see the issue I'm reporting:!revision_menu.jpg!However, I've seen that in this list there is content, because I'm able to click on any item on it and, when launching the job, it indicates me the revision I'm working with, and it is different depending on the row of the list I clicked. *In summary, the issue* *is that Jenkins doesn't show the revisions in the list, but they are really there.* Investigating this strange behaviour I've seen this message in Jenkins log: lo _Did not find author pattern author Carlos Beltran Hortelano Sancho 2017-11-28T08:27:05+0100_ This message is returned in java class *RevisionInfoFactory.java,* whose source code is here: *[https://github.com/jenkinsci/git-parameter-plugin/blob/master/src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/RevisionInfoFactory.java]*Analysing the code I assume that _author Carlos Beltran Hortelano Sancho 2017-11-28T08:27:05+0100_ __ corresponds to _authorLine_ variable. In this case, it seems clear that the pattern that Jenkins Git parameter plugin is obtaining from Git doesn't match with the one defined here in *RevisionInfoFactory.java:*_public static final Pattern AUTHOR_LINE_PATTERN = Pattern.compile("author (.* <.*@.*>) (__d\{10}) ([\\+-|file://+-/]__d\{4})");_ Have you found any similar issue before? Is there a plan to resolve this? Regards Add Comment