UnsupportedOperationException on add a new template to all docker clouds

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Blocker
    • Component/s: docker-plugin
    • None
    • Environment:
      Jenkins ver. 2.63
      Docker Plugin 0.16.2
      Docker version 17.05.0-ce, build 89658be

      I have got a build failure when I'm trying to use 'Add a new template to all docker clouds' as a build step. 

       

      ERROR: Build step failed with exception
      java.lang.UnsupportedOperationException
      	at java.util.AbstractList.add(Unknown Source)
      	at java.util.AbstractList.add(Unknown Source)
      	at com.nirima.jenkins.plugins.docker.DockerCloud.addTemplate(DockerCloud.java:464)
      	at com.nirima.jenkins.plugins.docker.builder.DockerBuilderNewTemplate.perform(DockerBuilderNewTemplate.java:125)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:730)
      	at hudson.model.Build$BuildExecution.build(Build.java:206)
      	at hudson.model.Build$BuildExecution.doRun(Build.java:163)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)
      	at hudson.model.Run.execute(Run.java:1735)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:415)
      Build step 'Add a new template to all docker clouds' marked build as failure
      

            Assignee:
            Nicolas De Loof
            Reporter:
            Ilya Moldovan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: