Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20972

java.lang.IllegalArgumentException: Jenkins already contains an item 'MyGeneratedJob'

XMLWordPrintable

      When updating a generated job I get:

      FATAL: Jenkins already contains an item 'XCSDK_prod_xcloud_python27_Functional_Tests'
      java.lang.IllegalArgumentException: Jenkins already contains an item 'MyGeneratedJob'
      at hudson.model.ItemGroupMixIn.createProjectFromXML(ItemGroupMixIn.java:227)
      at jenkins.model.Jenkins.createProjectFromXML(Jenkins.java:2944)
      at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.doRun(GeneratorRun.java:424)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566)
      at hudson.model.Run.execute(Run.java:1677)
      at org.jenkinsci.plugins.jobgenerator.GeneratorRun.run(GeneratorRun.java:281)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)
      at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)

            syl20bnr Sylvain Benner
            syl20bnr Sylvain Benner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: