[JIRA] (JENKINS-59745) Error when trying to vote on label in multibranch pipeline (0.3.4)
Title: Message Title Luca Domenico Milanesio closed an issue as Fixed Jenkins / JENKINS-59745 Error when trying to vote on label in multibranch pipeline (0.3.4) Change By: Luca Domenico Milanesio Status: Resolved Closed Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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.202464.1570786202000.5957.1574629920264%40Atlassian.JIRA.
[JIRA] (JENKINS-59745) Error when trying to vote on label in multibranch pipeline (0.3.4)
Title: Message Title lucamilanesio updated JENKINS-59745 Thanks, Thomas Draebing for reporting and also fixing this. Jenkins / JENKINS-59745 Error when trying to vote on label in multibranch pipeline (0.3.4) Change By: lucamilanesio Status: In Review Resolved Resolution: Fixed Released As: gerrit-code-review-0.3.5 Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- Y
[JIRA] (JENKINS-59745) Error when trying to vote on label in multibranch pipeline (0.3.4)
Title: Message Title lucamilanesio updated JENKINS-59745 Jenkins / JENKINS-59745 Error when trying to vote on label in multibranch pipeline (0.3.4) Change By: lucamilanesio Status: In Progress Review Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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.202464.1570786202000.187.1571909940930%40Atlassian.JIRA.
[JIRA] (JENKINS-59745) Error when trying to vote on label in multibranch pipeline (0.3.4)
Title: Message Title lucamilanesio started work on JENKINS-59745 Change By: lucamilanesio Status: Open In Progress Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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.202464.1570786202000.185.1571909940698%40Atlassian.JIRA.
[JIRA] (JENKINS-59745) Error when trying to vote on label in multibranch pipeline (0.3.4)
Title: Message Title Thomas Draebing commented on JENKINS-59745 Re: Error when trying to vote on label in multibranch pipeline (0.3.4) I also got this error using Jenkins 2.190.1 with the GerritCodeReview-plugin 0.3.4. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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.202464.1570786202000.18163.1571829960396%40Atlassian.JIRA.
[JIRA] (JENKINS-59745) Error when trying to vote on label in multibranch pipeline (0.3.4)
Title: Message Title Thomas Draebing updated an issue Jenkins / JENKINS-59745 Error when trying to vote on label in multibranch pipeline (0.3.4) Change By: Thomas Draebing Environment: Jenkins 2.60.3 Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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.202464.1570786202000.5587.1570790580705%40Atlassian.JIRA.
[JIRA] (JENKINS-59745) Error when trying to vote on label in multibranch pipeline (0.3.4)
Title: Message Title Thomas Draebing created an issue Jenkins / JENKINS-59745 Error when trying to vote on label in multibranch pipeline (0.3.4) Issue Type: Bug Assignee: lucamilanesio Components: gerrit-code-review-plugin Created: 2019-10-11 09:30 Priority: Minor Reporter: Thomas Draebing After updating to 0.3.4, when calling the GerritCodeReview command to set labels in a Jenkinsfile from a multi-branch pipeline, which was started by triggering the scan from the UI, I got the following stacktrace: java.util.NoSuchElementException at java.util.Collections$EmptyIterator.next(Collections.java:4191) at jenkins.plugins.gerrit.GerritEnvironmentContributor.buildEnvironmentFor(GerritEnvironmentContributor.java:77) at hudson.model.Job.getEnvironment(Job.java:397) at hudson.model.Run.getEnvironment(Run.java:2273) at org.jenkinsci.plugins.workflow.job.WorkflowRun.getEnvironment(WorkflowRun.java:425) at org.jenkinsci.plugins.workflow.support.DefaultStepContext.get(DefaultStepContext.java:65) at jenkins.plugins.gerrit.workflow.GerritReviewStep$Execution.(GerritReviewStep.java:49) at jenkins.plugins.gerrit.workflow.GerritReviewStep.start(GerritReviewStep.java:138) at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:227) at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:153) at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1218) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1027) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.