-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 1.589
p4-plugin 1.0.17
Jenkins jobs fail with an IndexOutOfBoundsException using the latest p4-plugin.
Console output from a job:
Started by user anonymous Building remotely on yeti (centos6 centos) in workspace /home/jenkins/yeti/workspace/tofino-basic FATAL: Index: 0, Size: 0 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:635) at java.util.ArrayList.get(ArrayList.java:411) at org.jenkinsci.plugins.p4.PerforceScm.setBuildLabel(PerforceScm.java:237) at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:200) at hudson.model.AbstractProject.checkout(AbstractProject.java:1259) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528) at hudson.model.Run.execute(Run.java:1759) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)
Attached are the build.xml file and the job config/log files. (Note: I've switched back to the 1.0.17-SNAPSHOT build that fixed JENKINS-25300